IDTSManagedHelper100.EncryptDocument(String, String) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.