Share via


SPSiteSubscriptionSettingsManager.GetFeaturePack Method

Retrieves the subscription feature definition set that is associated with the specified site subscription.

Namespace:  Microsoft.SharePoint
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No

Syntax

'Declaration
Public Function GetFeaturePack ( _
    siteSubscription As SPSiteSubscription _
) As SPSiteSubscriptionFeaturePack
'Usage
Dim instance As SPSiteSubscriptionSettingsManager
Dim siteSubscription As SPSiteSubscription
Dim returnValue As SPSiteSubscriptionFeaturePack

returnValue = instance.GetFeaturePack(siteSubscription)
public SPSiteSubscriptionFeaturePack GetFeaturePack(
    SPSiteSubscription siteSubscription
)

Parameters

Return Value

Type: Microsoft.SharePoint.SPSiteSubscriptionFeaturePack
The subscription feature definition set, if a set is mapped to the specified site subscription object; otherwise, returns null.

Exceptions

Exception Condition
ArgumentNullException

The specified site subscription does not exist.

SecurityException

The current user is not a farm administrator.

See Also

Reference

SPSiteSubscriptionSettingsManager Class

SPSiteSubscriptionSettingsManager Members

Microsoft.SharePoint Namespace