DocumentSubscriptionProperties Constructor Content Studio 5.7 SDK
Content Studio Web Content Management System

[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

ExceptionCondition
CSExceptionA business rule was violated in the underlying Content Studio database
CSPermissionDeniedExceptionThe caller has no permission to perform the requested action
CSInvalidSessionExceptionThe session is invalid
CSInvalidParameterExceptionA parameter has an invalid value
CSDocumentNotFoundExceptionThe document could not be found
NotSupportedExceptionThe value of the subscriptionType is not supported.
SqlExceptionAn error occurred when executing the command against the Content Studio database
Content Studio permissions

READ permission on the document is required.
See Also

Reference