public RevisionableDocument Promote()
Return Value
New promoted document.
Exception | Description |
---|---|
EPLAN.Harness.API.Exceptions.ObjectInvalidException | The object is in invalid state. Obtain a new one. |
EPLAN.Harness.API.Exceptions.InternalErrorException | Internal error of HpD or HpD API. IMPORTANT: Throwing this exception changes HpD Api's state to Failed. |
EPLAN.Harness.API.Exceptions.DocumentIsNotRevisionException | Only revisions can be promoted. IsRevision must be true. |
EPLAN.Harness.API.Exceptions.OperationFailedException | The operation was not successful. |