SPSiteSubscriptionSettings.GetSettings Method (SPServiceContext)
Gets the site subscription settings for a specified SPServiceContext object.
Namespace: Microsoft.SharePoint
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No
Syntax
'Declaration
Public Shared Function GetSettings ( _
serviceContext As SPServiceContext _
) As SPSiteSubscriptionSettings
'Usage
Dim serviceContext As SPServiceContext
Dim returnValue As SPSiteSubscriptionSettings
returnValue = SPSiteSubscriptionSettings.GetSettings(serviceContext)
public static SPSiteSubscriptionSettings GetSettings(
SPServiceContext serviceContext
)
Parameters
serviceContext
Type: Microsoft.SharePoint.SPServiceContextThe service context.
Return Value
Type: Microsoft.SharePoint.SPSiteSubscriptionSettings
The site subscription settings.
See Also
Reference
SPSiteSubscriptionSettings Class