Content Studio Web Content Management System
Assembly: CSServer5 (in CSServer5.dll) Version: 5.7.5016.0 (5.7.5016.0)
READ permission on the document is required.
[This is preliminary documentation and is subject to change.]
Initializes a new instance of the DocumentSubscriptionProperties class.
Namespace: ContentStudio.Document.Subscription
Assembly: CSServer5 (in CSServer5.dll) Version: 5.7.5016.0 (5.7.5016.0)
Syntax
public DocumentSubscriptionProperties( DocumentId documentId, SubscriptionType subscriptionType )
Parameters
- documentId
- Type: ContentStudio.DocumentDocumentId
The identifier of the document to load. - subscriptionType
- Type: ContentStudio.Document.SubscriptionSubscriptionType
The type of subscription to load. Currently only the Newsletter subscription type is supported.
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 |
NotSupportedException | The value of the subscriptionType is not supported. |
SqlException | An error occurred when executing the command against the Content Studio database |
Content Studio permissions
See Also