SPServiceContext.SiteSubscriptionId Property
Gets the site subscription identifier for this service context.
Namespace: Microsoft.SharePoint
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No
Syntax
'Declaration
Public ReadOnly Property SiteSubscriptionId As SPSiteSubscriptionIdentifier
Get
'Usage
Dim instance As SPServiceContext
Dim value As SPSiteSubscriptionIdentifier
value = instance.SiteSubscriptionId
public SPSiteSubscriptionIdentifier SiteSubscriptionId { get; }
Property Value
Type: Microsoft.SharePoint.SPSiteSubscriptionIdentifier
A Guid that uniquely identifies the site subscription.
Remarks
The site subscription identifier belongs to the SPSite used to create the service context. In the case of GetContext(HttpContext) or Current, the SPSite is inferred from the available context.