Content Studio Web Content Management System
Assembly: CSServer5 (in CSServer5.dll) Version: 5.7.5016.0 (5.7.5016.0)
WriteContainer permission on the document's category is needed to stop a document from being sent.
[This is preliminary documentation and is subject to change.]
Prevents a document from being sent.
Namespace: ContentStudio.Document.Subscription
Assembly: CSServer5 (in CSServer5.dll) Version: 5.7.5016.0 (5.7.5016.0)
Syntax
Exceptions
Exception | Condition |
---|---|
CSException | A business rule was violated in the underlying Content Studio database |
CSPermissionDeniedException | The caller has no permission to perform the requested action |
CSInvalidSessionException | The session is invalid |
CSInvalidParameterException | A parameter has an invalid value |
CSDocumentNotFoundException | The document could not be found |
InvalidOperationException | The status change operation failed because the current status cannot be set to %newValue%. - or - The document is not enabled for subscription. |
SqlException | An error occurred when executing the command against the Content Studio database |
Content Studio permissions
Remarks
This command sets the status of the document to Normal which tells Content Studio Service Manager that this document should not subject to a subscription operation.
This method can only be called successfully on documents that has one of the statuses below and is enabled for subscription.
See Also