共用方式為


SignDocument 方法

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

For more information, see ManagedHelper.

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

語法

'宣告
Sub SignDocument ( _
    <OutAttribute> ByRef pbstrDocument As String, _
    hCertContext As Long, _
    bstrKeyContainer As String, _
    iKeyNumber As Integer, _
    bstrProviderName As String, _
    iProviderType As Integer _
)
'用途
Dim instance As IDTSManagedHelper100
Dim pbstrDocument As String
Dim hCertContext As Long
Dim bstrKeyContainer As String
Dim iKeyNumber As Integer
Dim bstrProviderName As String
Dim iProviderType As Integer

instance.SignDocument(pbstrDocument, _
    hCertContext, bstrKeyContainer, _
    iKeyNumber, bstrProviderName, iProviderType)
void SignDocument(
    out string pbstrDocument,
    long hCertContext,
    string bstrKeyContainer,
    int iKeyNumber,
    string bstrProviderName,
    int iProviderType
)
void SignDocument(
    [InAttribute] [OutAttribute] String^% pbstrDocument, 
    [InAttribute] long long hCertContext, 
    [InAttribute] String^ bstrKeyContainer, 
    [InAttribute] int iKeyNumber, 
    [InAttribute] String^ bstrProviderName, 
    [InAttribute] int iProviderType
)
abstract SignDocument : 
        pbstrDocument:string byref * 
        hCertContext:int64 * 
        bstrKeyContainer:string * 
        iKeyNumber:int * 
        bstrProviderName:string * 
        iProviderType:int -> unit 
function SignDocument(
    pbstrDocument : String, 
    hCertContext : long, 
    bstrKeyContainer : String, 
    iKeyNumber : int, 
    bstrProviderName : String, 
    iProviderType : int
)

參數