ManagedHelper.EncryptDocumentByVersion 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
加密對應至指定 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 版本