0 out of 2 rated this helpful - Rate this topic

Sites.ImportWeb Method

Namespace:  [Sites Web service]
Web service reference: http://Site/_vti_bin/Sites.asmx
[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: System.String[]
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.

Did you find this helpful?
(1500 characters remaining)

Community Additions

ADD
© 2013 Microsoft. All rights reserved.