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

  • 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.

Remarks

Project Server Permissions

One of the following permissions is required.

Permission

Description

ManageWindowsSharePointServices

Manage the project workspace site. Global permission.

CreateNewProposalOrActivity

Create a new proposal. Global permission.

PublishProject

Publish the specified project. Category permission.

See Also

Reference

WssInterop Class

WssInterop Members

WebSvcWssInterop Namespace

Other Resources

Locale ID (LCID) Chart