次の方法で共有


Admin.GetCompatibilityMode Method

Reads 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/GetCompatibilityMode", 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 Function GetCompatibilityMode As Integer
'Usage
Dim instance As Admin
Dim returnValue As Integer

returnValue = instance.GetCompatibilityMode()
[SoapDocumentMethodAttribute("https://schemas.microsoft.com/office/project/server/webservices/Admin/GetCompatibilityMode", 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 int GetCompatibilityMode()

Return Value

Type: System.Int32
Can be one of the Admin.CompatibilityModes constants. The value is 0 if Project Server is running in native mode, which can connect only with Project Professional 2010.

Remarks

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.

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

LogOn

Allows a user to log on to Project Server. Global permission.

See Also

Reference

Admin Class

Admin Members

Admin Web Service