Share via


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)

Syntax

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

value = instance.ProvisionData
public string ProvisionData { get; }

Property value

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

Remarks

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.

Examples

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

ProvisionData="SiteTemplates\\MySiteManifest.xml"

See also

Reference

SPWebTemplate class

SPWebTemplate members

Microsoft.SharePoint namespace