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

SPWebTemplate.ProvisionClass Property

Windows SharePoint Services 3

Gets the name of a class that provides logic for provisioning sites created through the site definition configuration or site template.

Namespace:  Microsoft.SharePoint
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

public string ProvisionClass { get; }

Property Value

Type: System.String
A String that contains the name of the class.

If the SPWebTemplate represents a site definition configuration, this property is the value of the ProvisionClass attribute of a <Configuration> element in a WebTemp*.xml. (See WebTemp.xml for more information.)

The ProvisionClass and ProvisionAssembly properties together define an assembly used to support creating sites through the site definition configuration or site template.

The following is an example of the value of this property.

ProvisionClass="MyCompany.SharePoint. ProvisionHelper.MySiteProvisioningProvider"

Community Additions

© 2015 Microsoft