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 using a specific subscription definition identifier.
Namespace: ContentStudio.Document.Subscription
Assembly: CSServer5 (in CSServer5.dll) Version: 5.7.5016.0 (5.7.5016.0)
Syntax
public SubscriptionDefinition( ConnectionId connectionId, SessionId sessionId, Guid subscriptionDefinitionId )
Parameters
- connectionId
- Type: ContentStudioConnectionId
A value that identifies the web site - sessionId
- Type: ContentStudio.SecuritySessionId
A value that identifies the user's session. This value typically is retrieved from a call to the OpenSession method - subscriptionDefinitionId
- Type: SystemGuid
An identifier to a definition
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 |
CSDocumentNotFoundException | The specified subscriptionDefinitionId is not valid. |
SqlException | An error occurred when executing the command against the Content Studio database |
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