Share via


Admin.SetCompatibilityMode method

Obsolete in Project Server 2013.

Namespace:  WebSvcAdmin
Assembly:  ProjectServerServices (in ProjectServerServices.dll)

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

For Project Server 2010, the Additional Server Settings page in Project Web App (https://ServerName/ProjectServerName/_layouts/pwa/Admin/ServerConfig.aspx) includes the compatibility mode setting. Project Server 2013 does not have a 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

WebSvcAdmin namespace