SPWebTemplate.ProvisionData property

Specifies custom data to pass to the site provisioning handler for creating sites.

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

'Declaration
Public ReadOnly Property ProvisionData As String
	Get
'Usage
Dim instance As SPWebTemplate
Dim value As String

value = instance.ProvisionData

Property value

Type: System.String
A String that contains the custom data.

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

The data returned by this property is used by the Provision() method of the class identified in ProvisionClass.

This property can be used to hold a path to a file with structured data.

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

ProvisionData="SiteTemplates\\MySiteManifest.xml"
Show: