SPSiteSubscriptionSettingsManager.GetProperties Method
Gets the property collection associated with an SPSiteSubscription object.
Namespace: Microsoft.SharePoint
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No
Syntax
'Declaration
Public Function GetProperties ( _
siteSubscription As SPSiteSubscription _
) As SPSiteSubscriptionPropertyCollection
'Usage
Dim instance As SPSiteSubscriptionSettingsManager
Dim siteSubscription As SPSiteSubscription
Dim returnValue As SPSiteSubscriptionPropertyCollection
returnValue = instance.GetProperties(siteSubscription)
public SPSiteSubscriptionPropertyCollection GetProperties(
SPSiteSubscription siteSubscription
)
Parameters
siteSubscription
Type: Microsoft.SharePoint.SPSiteSubscriptionThe site subscription object whose property collection is to be retrieved.
Return Value
Type: Microsoft.SharePoint.SPSiteSubscriptionPropertyCollection
The property collection.
Exceptions
Exception | Condition |
---|---|
ArgumentNullException | The specified site subscription does not exist. |
Remarks
If there is no property collection associated with the SPSiteSubscription object, this method creates one.
See Also
Reference
SPSiteSubscriptionSettingsManager Class