Sites.ImportWeb - Méthode
Espace de noms : WebSvcsites
Assembly : STSSOAP (dans STSSOAP.dll)
Syntaxe
'Déclaration
<SoapDocumentMethodAttribute("https://schemas.microsoft.com/sharepoint/soap/ImportWeb", RequestNamespace := "https://schemas.microsoft.com/sharepoint/soap/", _
ResponseNamespace := "https://schemas.microsoft.com/sharepoint/soap/", _
Use := SoapBindingUse.Literal, ParameterStyle := SoapParameterStyle.Wrapped)> _
Public Function ImportWeb ( _
jobName As String, _
webUrl As String, _
dataFiles As String(), _
logPath As String, _
includeUserSecurity As Boolean, _
overWrite As Boolean _
) As Integer
'Utilisation
Dim instance As Sites
Dim jobName As String
Dim webUrl As String
Dim dataFiles As String()
Dim logPath As String
Dim includeUserSecurity As Boolean
Dim overWrite As Boolean
Dim returnValue As Integer
returnValue = instance.ImportWeb(jobName, _
webUrl, dataFiles, logPath, includeUserSecurity, _
overWrite)
[SoapDocumentMethodAttribute("https://schemas.microsoft.com/sharepoint/soap/ImportWeb", RequestNamespace = "https://schemas.microsoft.com/sharepoint/soap/",
ResponseNamespace = "https://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
)
Paramètres
- jobName
Type : System.String
- webUrl
Type : System.String
- dataFiles
Type : []
- logPath
Type : System.String
- includeUserSecurity
Type : System.Boolean
- overWrite
Type : System.Boolean
Valeur renvoyée
Type : System.Int32
Remarques
Pour accéder à ses méthodes et le service Sites , définissez une référence Web à https://Server_Name/ [sites /] [Site_Name/] _vti_bin/Sites.asmx.