SubscriptionActivate Method Content Studio 5.7 SDK
Content Studio Web Content Management System

[This is preliminary documentation and is subject to change.]

Activates this Subscription so it can be used by the subscription handlers.

Namespace: ContentStudio.Document.Subscription
Assembly: CSServer5 (in CSServer5.dll) Version: 5.7.5016.0 (5.7.5016.0)
Syntax

public void Activate()
Exceptions

ExceptionCondition
CSDocumentNotFoundExceptionThe subscription no longer exist.
InvalidOperationExceptionThe subscription is already activated.
SqlExceptionAn error occurred when executing the command against the Content Studio database
Content Studio permissions

This method can be successfully executed by anyone that open a Subscription object.
Remarks

When a subscription is added by using either the AddSubscription(String, SubscriberAddress, Boolean) or the AddSubscription(String, SubscriberAddress, String, Object, Boolean) method the Subscription is added to the Content Studio database but is not activated by default.
See Also

Reference