语言

ManagedHelper.EncryptDocumentByVersion 方法

定义

加密对应指定DTS版本的文档。

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)

参数

document
String

文件需要加密。

password
String

密码。

dtsVersion
DTSTargetServerVersion

DTS版本

实现

适用于