Partager via


Configuration Property

The Configuration property of the SPWeb class gets the ID of the configuration in the site definition that was used to create the site or the ID of the configuration in the site definition from which derives the site template that was used to create the site.

Property Value

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).

Remarks

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

Requirements

Platforms: Microsoft Windows Server 2003

Security: Code Access Security