共用方式為


ManagedHelper.EncryptDocumentByVersion Method

Definition

Encrypts the document corresponding to specified DTS version.

public:
 virtual void EncryptDocumentByVersion(System::String ^ % document, System::String ^ password, Microsoft::SqlServer::Dts::Runtime::Wrapper::DTSTargetServerVersion dtsVersion);
public void EncryptDocumentByVersion (ref string document, string password, Microsoft.SqlServer.Dts.Runtime.Wrapper.DTSTargetServerVersion dtsVersion);
abstract member EncryptDocumentByVersion : string * string * Microsoft.SqlServer.Dts.Runtime.Wrapper.DTSTargetServerVersion -> unit
override this.EncryptDocumentByVersion : string * string * Microsoft.SqlServer.Dts.Runtime.Wrapper.DTSTargetServerVersion -> unit
Public Sub EncryptDocumentByVersion (ByRef document As String, password As String, dtsVersion As DTSTargetServerVersion)

Parameters

document
String

The document to be encrypted.

password
String

The password.

dtsVersion
DTSTargetServerVersion

The DTS version

Implements

Applies to