Web.Configuration - Propriété
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.
Espace de noms : Microsoft.SharePoint.Client
Assemblys : Microsoft.SharePoint.Client.Silverlight (dans Microsoft.SharePoint.Client.Silverlight.dll); Microsoft.SharePoint.Client.Phone (dans Microsoft.SharePoint.Client.Phone.dll) Microsoft.SharePoint.Client (dans Microsoft.SharePoint.Client.dll)
Syntaxe
'Déclaration
Public ReadOnly Property Configuration As Short
Get
'Utilisation
Dim instance As Web
Dim value As Short
value = instance.Configuration
public short Configuration { get; }
Valeur de propriété
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).
Remarques
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.