Web.Configuration 屬性
取得網站定義設定 (用來建立網站) 的識別碼 (ID),或網站定義設定 (衍生建立網站所用的網站範本) 的識別碼。
命名空間: Microsoft.SharePoint.Client
組件: Microsoft.SharePoint.Client.Silverlight (在 Microsoft.SharePoint.Client.Silverlight.dll 中); Microsoft.SharePoint.Client.Phone (在 Microsoft.SharePoint.Client.Phone.dll 中) Microsoft.SharePoint.Client (在 Microsoft.SharePoint.Client.dll 中)
語法
'宣告
Public ReadOnly Property Configuration As Short
Get
'用途
Dim instance As Web
Dim value As Short
value = instance.Configuration
public short Configuration { get; }
屬性值
類型:System.Int16
16 位元整數,指出設定的識別碼。此值會對應到ID屬性設定中的項目共同作業應用程式標記語言 (連同 CAML)。
備註
當您儲存在網站另存為範本,以建立網站範本,然後從該範本建立網站時, Configuration屬性會包含網站定義設定網站範本衍生出的識別碼。