Sites.ImportWeb Method
SharePoint 2010
Namespace:
[Sites Web service]
Web service reference: http://Site/_vti_bin/Sites.asmx
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
To access the Sites service and its methods, set a Web reference to http://Server_Name/[sites/][Site_Name/]_vti_bin/Sites.asmx.