Content Studio Web Content Management System
Assembly: CSServer5 (in CSServer5.dll) Version: 5.7.5016.0 (5.7.5016.0)
[This is preliminary documentation and is subject to change.]
Initializes a new instance of the SubscriptionDefinition class.
Namespace: ContentStudio.Document.Subscription
Assembly: CSServer5 (in CSServer5.dll) Version: 5.7.5016.0 (5.7.5016.0)
Syntax
Parameters
- categoryId
- Type: ContentStudio.DocumentCategoryId
The category identifier. - subscriptionType
- Type: ContentStudio.Document.SubscriptionSubscriptionType
The type of subscription to load.
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 |
SqlException | An error occurred when executing the command against the Content Studio database |
NotSupportedException | The value of the subscriptionType is not supported. |
Content Studio permissions
Read permission on the category is required.
This method can also successfully be executed by sessions that have the global right ServiceQueueAdmin (member of the GlobalRights).
See Also