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

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

Removes one or more subscriptions using one of more subscription identifiers. I.e removes one of more subscriber(s) from their category subscription definition.

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

public static int RemoveSubscriptions(
	Subscription[] subscription


Type: ContentStudio.Document.SubscriptionSubscription
An array or one or more Subscription instances that represents existing subscriptions. This parameter cannot be null.

Return Value

Type: Int32
The number of subscription that was removed.

ArgumentNullExceptionThe subscription was null.
SqlExceptionAn error occurred when executing the command against the Content Studio database
Content Studio permissions

Any caller that have access to valid subscription identifiers can successfully execute this method.
See Also