Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
This API supports the SQL Server 2012 infrastructure and is not intended to be used directly from your code.
Encrypts a specified document.
Namespace: Microsoft.SqlServer.Dts.Runtime.Wrapper
Assembly: Microsoft.SqlServer.DTSRuntimeWrap (in Microsoft.SqlServer.DTSRuntimeWrap.dll)
Syntax
'Declaration
Sub EncryptDocument ( _
<OutAttribute> ByRef pbstrDocument As String, _
bstrPassword As String _
)
'Usage
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
)
Parameters
- pbstrDocument
Type: System.String%
The document to encrypt.
- bstrPassword
Type: System.String
The password of the document to encrypt.
Remarks
The encrypted document.