Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All
Expand Minimize

Web.Configuration property

SharePoint 2013

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.

Namespace:  Microsoft.SharePoint.Client
Assemblies:   Microsoft.SharePoint.Client.Silverlight (in Microsoft.SharePoint.Client.Silverlight.dll);  Microsoft.SharePoint.Client.Phone (in Microsoft.SharePoint.Client.Phone.dll)  Microsoft.SharePoint.Client (in Microsoft.SharePoint.Client.dll)

public short Configuration { get; }

Property value

Type: 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 is derived.

Show:
© 2015 Microsoft