SPWebTemplate members
Represents either a site definition configuration or a Web template that is used to create SharePoint sites.
The SPWebTemplate type exposes the following members.
Properties
Name | Description | |
---|---|---|
AllowGlobalFeatureAssociations | Gets a value that indicates whether global Feature associations are allowed on sites created with the site definition configuration or Web template. | |
CompatibilityLevel | Gets the compatibility level for the web template. | |
Description | Gets the description for the site definition configuration or Web template. | |
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. | |
FilterCategories | Gets the legacy category of the site that served as the source for the template when SPWebTemplate represents a custom Web template. | |
ID | Gets the ID for the site definition configuration or Web template. | |
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. | |
IsCustomTemplate | Gets a value that indicates whether the SPWebTemplate object is a custom site definition configuration or is, instead, a Web template. | |
IsFarmWideTemplate | Gets a Boolean value that represents whether this template can be used to create sites across the Sharepoint farm. | |
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. | |
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. | |
IsSubWebOnly | Gets a value that indicates whether the site definition configuration or Web template is applicable only to subsites created within the site collection. | |
IsUnique | Obsolete. Gets a value that indicates whether the site created from the site definition configuration or Web template inherits from its parent site. | |
Lcid | Gets the locale ID of the site definition configuration or Web template. | |
Name | Gets the internal name of the site definition configuration or Web template. | |
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. | |
ProvisionClass | Gets the name of a class that provides logic for provisioning sites created through the site definition configuration or Web template. | |
ProvisionData | Specifies custom data to pass to the site provisioning handler for creating sites. | |
SupportsMultilingualUI | Gets a value that indicates whether adiministrators can enable alternate langauges for sites created from the site definition configuration or the Web template. | |
Title | Gets the display name for the site definition configuration or Web template. | |
UserLicensingId | Gets the per-user license for a web template. | |
VisibilityFeatureDependencyId | Gets the GUID that identifies a Feature on which the site definition configuration or Web template depends. |
Top
Methods
Name | Description | |
---|---|---|
Equals | (Inherited from Object.) | |
Finalize | (Inherited from Object.) | |
GetHashCode | (Inherited from Object.) | |
GetType | (Inherited from Object.) | |
MemberwiseClone | (Inherited from Object.) | |
ToString | Returns a culture-invariant string that describes the site definition configuration or Web template. (Overrides Object.ToString().) |
Top
Fields
Name | Description | |
---|---|---|
WebTemplateBLOG | The name of the site definition used for blog sites. Value = "BLOG". | |
WebTemplateMWS | The name of the site definition used for a Meetings sites. Value = "MPS". | |
WebTemplateSTS | The name of the site definition used for Team sites. Value = "STS". | |
WebTemplateWIKI | The name of the site definition used for wiki sites. Value = "WIKI". |
Top