Partager via


Méthode ManagedHelper.VerifyDocument

Cette API prend en charge l'infrastructure SQL Server 2012 et n'est pas destinée à être utilisée directement à partir de votre code.

Verifies the document associated with the helper.

Espace de noms :  Microsoft.SqlServer.Dts.Runtime
Assembly :  Microsoft.SqlServer.ManagedDTS (en Microsoft.SqlServer.ManagedDTS.dll)

Syntaxe

'Déclaration
Public Function VerifyDocument ( _
    document As String, _
    <OutAttribute> ByRef rawCertData As Byte(), _
    <OutAttribute> ByRef signerPublicKeyBlob As Byte() _
) As Boolean
'Utilisation
Dim instance As ManagedHelper 
Dim document As String 
Dim rawCertData As Byte()
Dim signerPublicKeyBlob As Byte()
Dim returnValue As Boolean 

returnValue = instance.VerifyDocument(document, _
    rawCertData, signerPublicKeyBlob)
public bool VerifyDocument(
    string document,
    out byte[] rawCertData,
    out byte[] signerPublicKeyBlob
)
public:
virtual bool VerifyDocument(
    String^ document, 
    [OutAttribute] array<unsigned char>^% rawCertData, 
    [OutAttribute] array<unsigned char>^% signerPublicKeyBlob
) sealed
abstract VerifyDocument : 
        document:string * 
        rawCertData:byte[] byref * 
        signerPublicKeyBlob:byte[] byref -> bool  
override VerifyDocument : 
        document:string * 
        rawCertData:byte[] byref * 
        signerPublicKeyBlob:byte[] byref -> bool
public final function VerifyDocument(
    document : String, 
    rawCertData : byte[], 
    signerPublicKeyBlob : byte[]
) : boolean

Paramètres

  • rawCertData
    Type : array<System.Byte[]%
    The raw certificate data.
  • signerPublicKeyBlob
    Type : array<System.Byte[]%
    The signer.

Valeur de retour

Type : System.Boolean
The verified document.

Implémente

IDTSManagedHelper100.VerifyDocument(String, array<Byte[]%, array<Byte[]%)

Notes

Example

Voir aussi

Référence

ManagedHelper Classe

Espace de noms Microsoft.SqlServer.Dts.Runtime