SiteProvision Method
Requests that Microsoft Windows SharePoint Services add the default set of lists to an existing Web site. The set of SharePoint lists is specified in the ONET.XML file, which resides on the Web server running Windows SharePoint Services.
Syntax
<Method ID="Text">
<SetVar Name="Cmd">SiteProvision</SetVar>
<SetVar Name="CreateLists">[True|False]</SetVar>
<SetVar Name="SiteTemplate">Text</SetVar>
</Method>
Parameters
ID = "Text"
Name = "Cmd"
Name = "CreateLists"
Name = "SiteTemplate"
Decoded
<ows:Batch OnError="Return">
<Method ID="0,SiteProvision">
<SetVar Name="Cmd">SiteProvision</SetVar>
<SetVar Name="CreateLists">True</SetVar>
<SetVar Name="SiteTemplate">STS#0</SetVar>
</Method>
</ows:Batch>
Return Value
Success
Returns the code attribute, which is a signed-decimal representation of an HRESULT.
Error
Returns an XML-encoded Unicode (UTF-8) text string. See Error Message Format for Windows SharePoint Services for more information.