Compartilhar via


Método IDTSManagedHelper100.EncryptDocument

Essa API oferece suporte à infraestrutura do SQL Server 2012 e não se destina a ser usada diretamente no seu código.

Encrypts a specified document.

Namespace:  Microsoft.SqlServer.Dts.Runtime.Wrapper
Assembly:  Microsoft.SqlServer.DTSRuntimeWrap (em Microsoft.SqlServer.DTSRuntimeWrap.dll)

Sintaxe

'Declaração
Sub EncryptDocument ( _
    <OutAttribute> ByRef pbstrDocument As String, _
    bstrPassword As String _
)
'Uso
Dim instance As IDTSManagedHelper100 
Dim pbstrDocument As String 
Dim bstrPassword As String

instance.EncryptDocument(pbstrDocument, _
    bstrPassword)
void EncryptDocument(
    out string pbstrDocument,
    string bstrPassword
)
void EncryptDocument(
    [InAttribute] [OutAttribute] String^% pbstrDocument, 
    [InAttribute] String^ bstrPassword
)
abstract EncryptDocument : 
        pbstrDocument:string byref * 
        bstrPassword:string -> unit
function EncryptDocument(
    pbstrDocument : String, 
    bstrPassword : String
)

Parâmetros

  • bstrPassword
    Tipo: System.String
    The password of the document to encrypt.

Comentários

The encrypted document.

Consulte também

Referência

IDTSManagedHelper100 Interface

Namespace Microsoft.SqlServer.Dts.Runtime.Wrapper