SPWeb.Configuration 属性

Gets either the identifier (ID) of the site definition configuration that was used to create the site, or the ID of the site definition configuration from which the site template used to create the site was derived.

命名空间:  Microsoft.SharePoint
程序集:  Microsoft.SharePoint(位于 Microsoft.SharePoint.dll 中)

语法

声明
Public ReadOnly Property Configuration As Short
    Get
用法
Dim instance As SPWeb
Dim value As Short

value = instance.Configuration
public short Configuration { get; }

属性值

类型:System.Int16
A 16-bit integer that indicates the ID of the configuration. This value corresponds to the ID attribute of the Configuration element in Collaborative Application Markup Language (CAML).

备注

When you create a site template by saving a site as a template and then create a site from that template, the Configuration property contains the ID of the site definition configuration from which the site template derives.

另请参阅

引用

SPWeb 类

SPWeb 成员

Microsoft.SharePoint 命名空间