WssInterop.CreateWssSite Method
Creates a SharePoint site for the specified project and server.
Namespace: WebSvcWssInterop
Assembly: ProjectServerWebServices (in ProjectServerWebServices.dll)
Syntax
'Declaration
<SoapDocumentMethodAttribute("http://schemas.microsoft.com/office/project/server/webservices/WssInterop/CreateWssSite", RequestNamespace := "http://schemas.microsoft.com/office/project/server/webservices/WssInterop/", _
ResponseNamespace := "http://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("http://schemas.microsoft.com/office/project/server/webservices/WssInterop/CreateWssSite", RequestNamespace = "http://schemas.microsoft.com/office/project/server/webservices/WssInterop/",
ResponseNamespace = "http://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.Guid
GUID of the project.
- wssServerUID
Type: System.Guid
GUID of the server within a farm.
- wssWebFullUrl
Type: System.String
Full URL of the SharePoint Web site to create.
- webTemplateLcid
Type: System.Int32
Locale ID of the site template.
- webTemplateName
Type: System.String
Name of the site template.
Remarks
Project Server Permissions
One of the following permissions is required.
Permission |
Description |
---|---|
Manage the project workspace site. Global permission. |
|
Create a new proposal. Global permission. |
|
Publish the specified project. Category permission. |