IWebCloudService.SwapSite method
Namespace: Microsoft.Web.Hosting.Administration
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'Declaration
<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 _
)
'Usage
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
)
Parameters
- subscriptionName
Type: System.String
- webspaceName
Type: System.String
- name
Type: System.String
- command
Type: System.String
- otherSiteName
Type: System.String