Content Studio Web Content Management System
Assembly: CSServer5 (in CSServer5.dll) Version: 5.7.5016.0 (5.7.5016.0)
A Subscription instance that represent the subscription.
This method can only successfully be executed
by sessions that have the ServiceQueueAdmin global right
or have READ permission on the category.
[This is preliminary documentation and is subject to change.]
Opens the specified subscription using its identifier.
Namespace: ContentStudio.Document.Subscription
Assembly: CSServer5 (in CSServer5.dll) Version: 5.7.5016.0 (5.7.5016.0)
Syntax
public static Subscription Open( ConnectionId connectionId, SessionId sessionId, Guid subscriptionId )
Parameters
- connectionId
- Type: ContentStudioConnectionId
The connection id. - sessionId
- Type: ContentStudio.SecuritySessionId
The session id. - subscriptionId
- Type: SystemGuid
The subscription identifier.
Return Value
Type: SubscriptionA Subscription instance that represent the subscription.
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 |
ArgumentException | The specified subscriptionId does not exist. |
SqlException | An error occurred when executing the command against the Content Studio database |
Content Studio permissions
See Also