SPSiteSubscriptionSettingsManager.GetAdminProperties method
Retrieves the administrative property collection that is associated with the specified SPSiteSubscription object.
Namespace: Microsoft.SharePoint
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'Declaration
Public Function GetAdminProperties ( _
siteSubscription As SPSiteSubscription _
) As SPSiteSubscriptionPropertyCollection
'Usage
Dim instance As SPSiteSubscriptionSettingsManager
Dim siteSubscription As SPSiteSubscription
Dim returnValue As SPSiteSubscriptionPropertyCollection
returnValue = instance.GetAdminProperties(siteSubscription)
public SPSiteSubscriptionPropertyCollection GetAdminProperties(
SPSiteSubscription siteSubscription
)
Parameters
siteSubscription
Type: Microsoft.SharePoint.SPSiteSubscriptionThe site subscription object from which to retrieve an administrative property collection.
Return value
Type: Microsoft.SharePoint.SPSiteSubscriptionPropertyCollection
The administrative property collection.
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