共用方式為


IDTSManagedHelper100.EncryptDocument(String, String) Method

Definition

Encrypts a specified document.

public:
 void EncryptDocument([Runtime::InteropServices::Out] System::String ^ % pbstrDocument, System::String ^ bstrPassword);
public void EncryptDocument (out string pbstrDocument, string bstrPassword);
abstract member EncryptDocument : string * string -> unit
Public Sub EncryptDocument (ByRef pbstrDocument As String, bstrPassword As String)

Parameters

pbstrDocument
String

The document to encrypt.

bstrPassword
String

The password of the document to encrypt.

Remarks

The encrypted document.

Applies to