共用方式為


SPSite.SiteSubscription property

取得此網站集合所屬的訂閱。

Namespace:  Microsoft.SharePoint
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

Syntax

'宣告
Public ReadOnly Property SiteSubscription As SPSiteSubscription
    Get
'用途
Dim instance As SPSite
Dim value As SPSiteSubscription

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

Property value

Type: Microsoft.SharePoint.SPSiteSubscription
物件,表示相關聯的網站集合。

請參閱

參照

SPSite class

SPSite members

Microsoft.SharePoint namespace