SPWebTemplate properties

The SPWebTemplate type exposes the following members.

Properties

  Name Description
Public property AllowGlobalFeatureAssociations Gets a value that indicates whether global Feature associations are allowed on sites created with the site definition configuration or Web template.
Public property CompatibilityLevel Gets the compatibility level for the web template.
Public property Description Gets the description for the site definition configuration or Web template.
Public property DisplayCategory Gets the name, as it appears in the user interface, of the category of site definition configurations and Web templates to which the SPWebTemplate belongs.
Public property FilterCategories Gets the legacy category of the site that served as the source for the template when SPWebTemplate represents a custom Web template.
Public property ID Gets the ID for the site definition configuration or Web template.
Public property ImageUrl Gets the URL to the image that is used to represent the site definition configuration or Web template in the user interface of SharePoint Foundation.
Public property IsCustomTemplate Gets a value that indicates whether the SPWebTemplate object is a custom site definition configuration or is, instead, a Web template.
Public property IsFarmWideTemplate Gets a Boolean value that represents whether this template can be used to create sites across the Sharepoint farm.
Public property IsHidden Gets a value that indicates whether the site definition configuration is displayed in the user interface as one of the optional configurations used for creating new sites.
Public property IsRootWebOnly Gets a value that indicates whether the site definition configuration or Web template is applicable to only the root site in the site collection.
Public property IsSubWebOnly Gets a value that indicates whether the site definition configuration or Web template is applicable only to subsites created within the site collection.
Public property IsUnique Obsolete. Gets a value that indicates whether the site created from the site definition configuration or Web template inherits from its parent site.
Public property Lcid Gets the locale ID of the site definition configuration or Web template.
Public property Name Gets the internal name of the site definition configuration or Web template.
Public property ProvisionAssembly Gets the name of an assembly that contains a class that provides logic for provisioning sites created through the site definition configuration or Web template.
Public property ProvisionClass Gets the name of a class that provides logic for provisioning sites created through the site definition configuration or Web template.
Public property ProvisionData Specifies custom data to pass to the site provisioning handler for creating sites.
Public property SupportsMultilingualUI Gets a value that indicates whether adiministrators can enable alternate langauges for sites created from the site definition configuration or the Web template.
Public property Title Gets the display name for the site definition configuration or Web template.
Public property UserLicensingId Gets the per-user license for a web template.
Public property VisibilityFeatureDependencyId Gets the GUID that identifies a Feature on which the site definition configuration or Web template depends.

Top

See also

Reference

SPWebTemplate class

Microsoft.SharePoint namespace