EncryptionProvider.NewSession Method
Used by the EncryptionProvider object to create a new encryption session. This session is used by the provider to cache document-specific information about the encryption, users, and rights while the document is in memory.
Syntax
expression.NewSession(ParentWindow)
expression An expression that returns a EncryptionProvider object.
Parameters
| Name | Required/Optional | Data Type | Description |
|---|---|---|---|
| ParentWindow | Required | IUnknown | Specifies the window that is called to display the encryption settings. |
Return Value
Long
Remarks
This method is called by your COM add-in.