Sites.ImportWeb Method

Namespace:  websvcSites
Assembly:  STSSOAP (in STSSOAP.dll)

[SoapDocumentMethodAttribute("http://schemas.microsoft.com/sharepoint/soap/ImportWeb", RequestNamespace = "http://schemas.microsoft.com/sharepoint/soap/", 
	ResponseNamespace = "http://schemas.microsoft.com/sharepoint/soap/", 
	Use = SoapBindingUse.Literal, ParameterStyle = SoapParameterStyle.Wrapped)]
public int ImportWeb(
	string jobName,
	string webUrl,
	string[] dataFiles,
	string logPath,
	bool includeUserSecurity,
	bool overWrite
)

Parameters

jobName
Type: System.String
webUrl
Type: System.String
dataFiles
Type: []
logPath
Type: System.String
includeUserSecurity
Type: System.Boolean
overWrite
Type: System.Boolean

Return Value

Type: System.Int32

To access the Sites service and its methods, set a Web reference to http://Server_Name/[sites/][Site_Name/]_vti_bin/Sites.asmx.

Community Additions

Show: