共用方式為


IDTSManagedHelper100.SignDocument Method

Definition

Signs the document associated with the helper.

public:
 void SignDocument([Runtime::InteropServices::Out] System::String ^ % pbstrDocument, long hCertContext, System::String ^ bstrKeyContainer, int iKeyNumber, System::String ^ bstrProviderName, int iProviderType);
public void SignDocument (out string pbstrDocument, long hCertContext, string bstrKeyContainer, int iKeyNumber, string bstrProviderName, int iProviderType);
abstract member SignDocument : string * int64 * string * int * string * int -> unit
Public Sub SignDocument (ByRef pbstrDocument As String, hCertContext As Long, bstrKeyContainer As String, iKeyNumber As Integer, bstrProviderName As String, iProviderType As Integer)

Parameters

pbstrDocument
String

The document.

hCertContext
Int64

The certificate context.

bstrKeyContainer
String

The key container.

iKeyNumber
Int32

The key number.

bstrProviderName
String

The provider name

iProviderType
Int32

The provider type.

Remarks

For more information, see ManagedHelper.

Applies to