EncryptionProvider.CloneSession method (Office)
Creates a second, working copy of the EncryptionProvider object's encryption session for a file that is about to be saved.
Syntax
expression.CloneSession(SessionHandle)
expression An expression that returns an EncryptionProvider object.
Parameters
Name | Required/Optional | Data type | Description |
---|---|---|---|
SessionHandle | Required | Long | The ID of the cloned session. |
Return value
Long
Remarks
The output of this method is another session handle with the same encryption settings. When an autoSave operation occurs, you are provided with this session handle.
See also
Support and feedback
Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.