IWebCloudService.SwapSite 方法

命名空间:  Microsoft.Web.Hosting.Administration
程序集:  Microsoft.SharePoint(位于 Microsoft.SharePoint.dll 中)

语法

声明
<WebInvokeAttribute(UriTemplate := "subscriptions/{subscriptionName}/webspaces/{webspaceName}/sites/{name}?Command={command}&OtherSiteName={otherSiteName}",  _
    Method := "POST")> _
Sub SwapSite ( _
    subscriptionName As String, _
    webspaceName As String, _
    name As String, _
    command As String, _
    otherSiteName As String _
)
用法
Dim instance As IWebCloudService
Dim subscriptionName As String
Dim webspaceName As String
Dim name As String
Dim command As String
Dim otherSiteName As String

instance.SwapSite(subscriptionName, webspaceName, _
    name, command, otherSiteName)
[WebInvokeAttribute(UriTemplate = "subscriptions/{subscriptionName}/webspaces/{webspaceName}/sites/{name}?Command={command}&OtherSiteName={otherSiteName}", 
    Method = "POST")]
void SwapSite(
    string subscriptionName,
    string webspaceName,
    string name,
    string command,
    string otherSiteName
)

参数

另请参阅

引用

IWebCloudService 接口

IWebCloudService 成员

Microsoft.Web.Hosting.Administration 命名空间