Compartilhar via


SPContext.SiteSubscription Property

Gets the subscription to which this site collection belongs.

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

Syntax

'Declaration
Public ReadOnly Property SiteSubscription As SPSiteSubscription
    Get
'Usage
Dim instance As SPContext
Dim value As SPSiteSubscription

value = instance.SiteSubscription
public SPSiteSubscription SiteSubscription { get; }

Property Value

Type: Microsoft.SharePoint.SPSiteSubscription
An object that represents associated site collections.

See Also

Reference

SPContext Class

SPContext Members

Microsoft.SharePoint Namespace