ManagedHelper.EncryptDocument Method
This API supports the SQL Server 2012 infrastructure and is not intended to be used directly from your code.
Encrypts the document.
Namespace: Microsoft.SqlServer.Dts.Runtime
Assembly: Microsoft.SqlServer.ManagedDTS (in Microsoft.SqlServer.ManagedDTS.dll)
Syntax
'Declaration
Public Sub EncryptDocument ( _
ByRef document As String, _
password As String _
)
'Usage
Dim instance As ManagedHelper
Dim document As String
Dim password As String
instance.EncryptDocument(document, password)
public void EncryptDocument(
ref string document,
string password
)
public:
virtual void EncryptDocument(
String^% document,
String^ password
) sealed
abstract EncryptDocument :
document:string byref *
password:string -> unit
override EncryptDocument :
document:string byref *
password:string -> unit
public final function EncryptDocument(
document : String,
password : String
)
Parameters
- document
Type: System.String%
The document to be encrypted.
- password
Type: System.String
The password.
Implements
IDTSManagedHelper100.EncryptDocument(String%, String)