Partager via


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

  • dataFiles
    Type : []

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.

Voir aussi

Référence

Sites classe

Sites - Membres

WebSvcsites - Espace de noms