Document.EnableWorksharing
Description:
Enables worksharing in the document.
Enables worksharing in the document.
Remarks:
The document's Undo history will be cleared by this command. As a result, this command and others executed before it cannot be undone.
The document's Undo history will be cleared by this command. As a result, this command and others executed before it cannot be undone.
All transaction phases (e.g. transactions transaction groups and sub-transaction) that were explicitly started must be finished prior to calling this method.
-
worksetNameGridLevelName of workset for grids and levels.
-
worksetNameName of workset for all other elements.
-
worksetNameGridLevel is an empty string. -or- worksetName is an empty string. -or- worksetNameGridLevel cannot include prohibited characters. -or- worksetName cannot include prohibited characters.
-
A non-optional argument was NULL
-
This method may not be called during dynamic update.
-
The document does not allow worksharing to be enabled. -or- This Document has is in an edit mode or is in family mode. -or- This Document is a workshared document. -or- There is a transaction phase left open (such as a transaction, sub-transaction of transaction group) at the time of invoking this method.
-
Enabling worksharing was cancelled.