WssInterop.CreateWssSite method
Creates a SharePoint site for the specified project and server.
Namespace: WebSvcWssInterop
Assembly: ProjectServerServices (in ProjectServerServices.dll)
Syntax
'Declaration
<SoapDocumentMethodAttribute("https://schemas.microsoft.com/office/project/server/webservices/WssInterop/CreateWssSite", RequestNamespace := "https://schemas.microsoft.com/office/project/server/webservices/WssInterop/", _
ResponseNamespace := "https://schemas.microsoft.com/office/project/server/webservices/WssInterop/", _
Use := SoapBindingUse.Literal, ParameterStyle := SoapParameterStyle.Wrapped)> _
Public Sub CreateWssSite ( _
projectUID As Guid, _
wssServerUID As Guid, _
wssWebFullUrl As String, _
webTemplateLcid As Integer, _
webTemplateName As String _
)
'Usage
Dim instance As WssInterop
Dim projectUID As Guid
Dim wssServerUID As Guid
Dim wssWebFullUrl As String
Dim webTemplateLcid As Integer
Dim webTemplateName As String
instance.CreateWssSite(projectUID, wssServerUID, _
wssWebFullUrl, webTemplateLcid, _
webTemplateName)
[SoapDocumentMethodAttribute("https://schemas.microsoft.com/office/project/server/webservices/WssInterop/CreateWssSite", RequestNamespace = "https://schemas.microsoft.com/office/project/server/webservices/WssInterop/",
ResponseNamespace = "https://schemas.microsoft.com/office/project/server/webservices/WssInterop/",
Use = SoapBindingUse.Literal, ParameterStyle = SoapParameterStyle.Wrapped)]
public void CreateWssSite(
Guid projectUID,
Guid wssServerUID,
string wssWebFullUrl,
int webTemplateLcid,
string webTemplateName
)
Parameters
projectUID
Type: System.GuidThe unique identifier of the project.
wssServerUID
Type: System.GuidThe unique identifier of the server within a farm.
wssWebFullUrl
Type: System.StringThe full URL of the SharePoint site to create.
webTemplateLcid
Type: System.Int32The locale identifier of the site template.
webTemplateName
Type: System.StringThe name of the site template.
Remarks
Project Server Permissions
If the ManageWindowsSharePointServices permission is not explicitly denied, the CreateWssSite method checks whether the user has one of the following permissions.
Permission |
Description |
---|---|
Allows a user to manage the project site. Global permission. |
|
Allows a user to create a project. Global permission. |
|
Allows a user to publish the specified project. Category permission. |