Export (0) Print
Expand All

SPWebTemplate.ProvisionData Property

Windows SharePoint Services 3

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

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

public string ProvisionData { get; }

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.


Community Additions

© 2015 Microsoft