Condividi tramite


Admin.SetCompatibilityMode Method

Sets the Project Server compatibility mode for Project Professional.

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

Syntax

'Declaration
<SoapDocumentMethodAttribute("https://schemas.microsoft.com/office/project/server/webservices/Admin/SetCompatibilityMode", RequestNamespace := "https://schemas.microsoft.com/office/project/server/webservices/Admin/",  _
    ResponseNamespace := "https://schemas.microsoft.com/office/project/server/webservices/Admin/",  _
    Use := SoapBindingUse.Literal, ParameterStyle := SoapParameterStyle.Wrapped)> _
Public Sub SetCompatibilityMode ( _
    mode As Integer _
)
'Usage
Dim instance As Admin
Dim mode As Integer

instance.SetCompatibilityMode(mode)
[SoapDocumentMethodAttribute("https://schemas.microsoft.com/office/project/server/webservices/Admin/SetCompatibilityMode", RequestNamespace = "https://schemas.microsoft.com/office/project/server/webservices/Admin/", 
    ResponseNamespace = "https://schemas.microsoft.com/office/project/server/webservices/Admin/", 
    Use = SoapBindingUse.Literal, ParameterStyle = SoapParameterStyle.Wrapped)]
public void SetCompatibilityMode(
    int mode
)

Parameters

Remarks

Project Server compares mode with the ProjectServer2007 value. If mode = ProjectServer2010, the compatibility mode is turned off. A mode value of 0 sets Project Server to run in native mode, which can connect only with Project Professional 2010.

When Project Server 2007 is upgraded to Project Server 2010, the compatibility mode value is ProjectServer2007 by default. This enables Project Professional 2007 to connect to Project Server 2010. When compatibility mode is turned off, Project Server 2010 cannot be downgraded at a later time.

The Additional Server Settings page in Project Web App (https://ServerName/ProjectServerName/_layouts/pwa/Admin/ServerConfig.aspx) includes the compatibility mode setting.

Project Server Permissions

Permission

Description

ManageServerConfiguration

Allows a user to manage the configuration information for Project Server. Global permission.

See Also

Reference

Admin Class

Admin Members

Admin Web Service