共用方式為


EncryptDocument 方法

此 API 支援 .NET Framework 結構,但並不是針對直接從程式碼使用而設計。

For more information, see ManagedHelper.

命名空間:  Microsoft.SqlServer.Dts.Runtime.Wrapper
組件:  Microsoft.SqlServer.DTSRuntimeWrap (在 Microsoft.SqlServer.DTSRuntimeWrap.dll 中)

語法

'宣告
Sub EncryptDocument ( _
    <OutAttribute> ByRef pbstrDocument As String, _
    bstrPassword As String _
)
'用途
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
)

參數