共用方式為


IDTSManagedHelper100.SignDocument 方法

此 API 支援 SQL Server 2012 基礎結構,但無法直接從您的程式碼使用。

Signs the document associated with the helper.

命名空間:  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
)

參數

  • hCertContext
    型別:System.Int64
    The certificate context.

備註

For more information, see ManagedHelper.

請參閱

參考

IDTSManagedHelper100 介面

Microsoft.SqlServer.Dts.Runtime.Wrapper 命名空間