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)
Available in Sandboxed Solutions: Yes
Available in SharePoint Online

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 Understanding WebTemp*.xml Files 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