Compartir a través de


WssInterop.UpdateWssSettings Method

Allows the user to update settings for project site provisioning in Microsoft SharePoint Server 2010.

Namespace:  [WssInterop Web service]
Service reference: http://ServerName:32843/[Project Service Application GUID]/PSI/WssInterop.svc
Web service reference: http://ServerName/ProjectServerName/_vti_bin/PSI/WssInterop.asmx?wsdl

Syntax

'Declaration
<SoapDocumentMethodAttribute("https://schemas.microsoft.com/office/project/server/webservices/WssInterop/UpdateWssSettings", 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 UpdateWssSettings ( _
    wssSettingsDataSet As WssSettingsDataSet _
)
'Usage
Dim instance As WssInterop
Dim wssSettingsDataSet As WssSettingsDataSet

instance.UpdateWssSettings(wssSettingsDataSet)
[SoapDocumentMethodAttribute("https://schemas.microsoft.com/office/project/server/webservices/WssInterop/UpdateWssSettings", 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 UpdateWssSettings(
    WssSettingsDataSet wssSettingsDataSet
)

Parameters

Remarks

The project site settings include the following fields in the WssSettingsDataSet:

Field

Description

WADMIN_CURRENT_STS_SERVER_UID

The unique identifier of the SharePoint server.

WADMIN_DEFAULT_SITE_COLLECTION

The site collection ID.

WADMIN_STS_TEMPLATE_ID

The project site template ID.

WADMIN_STS_TEMPLATE_LCID

The project site template LCID value. 1033 is for US English.

WADMIN_AUTO_CREATE_SUBWEBS

The byte value for whether to automatically create subwebs.

WADMIN_AUTO_ADD_USER_TO_SUBWEB

The byte value for whether to automatically add users to a subweb.

Project Server Permissions

Permission

Description

ManageWindowsSharePointServices

Allows a user to manage the project site. Global permission.

See Also

Reference

WssInterop Class

WssInterop Members

WssInterop Web Service