IWebCloudService.CreateSite 方法
命名空间: Microsoft.Web.Hosting.Administration
程序集: Microsoft.SharePoint(位于 Microsoft.SharePoint.dll 中)
语法
声明
<WebInvokeAttribute(UriTemplate := "subscriptions/{subscriptionName}/webspaces/{webspaceName}/sites", _
Method := "POST")> _
Function CreateSite ( _
subscriptionName As String, _
webspaceName As String, _
site As Site _
) As Site
用法
Dim instance As IWebCloudService
Dim subscriptionName As String
Dim webspaceName As String
Dim site As Site
Dim returnValue As Site
returnValue = instance.CreateSite(subscriptionName, _
webspaceName, site)
[WebInvokeAttribute(UriTemplate = "subscriptions/{subscriptionName}/webspaces/{webspaceName}/sites",
Method = "POST")]
Site CreateSite(
string subscriptionName,
string webspaceName,
Site site
)
参数
- subscriptionName
类型:System.String
- webspaceName
类型:System.String
返回值
类型:Microsoft.Web.Hosting.Administration.Site