Méthode IDTSManagedHelper100.EncryptDocument
Cette API prend en charge l'infrastructure SQL Server 2012 et n'est pas destinée à être utilisée directement à partir de votre code.
Encrypts a specified document.
Espace de noms : Microsoft.SqlServer.Dts.Runtime.Wrapper
Assembly : Microsoft.SqlServer.DTSRuntimeWrap (en Microsoft.SqlServer.DTSRuntimeWrap.dll)
Syntaxe
'Déclaration
Sub EncryptDocument ( _
<OutAttribute> ByRef pbstrDocument As String, _
bstrPassword As String _
)
'Utilisation
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
)
Paramètres
- pbstrDocument
Type : System.String%
The document to encrypt.
- bstrPassword
Type : System.String
The password of the document to encrypt.
Notes
The encrypted document.