Admin.GetCompatibilityMode 方法
已过时Project Server 2013中。
命名空间: WebSvcAdmin
程序集: ProjectServerServices(位于 ProjectServerServices.dll 中)
语法
声明
<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
用法
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()
返回值
类型:System.Int32
在Project Server 2010,读取 Project Professional 的 Project Server 兼容模式。兼容模式可以是Admin.CompatibilityModes常量之一。如果Project Server 2010运行在本机模式下,可以仅使用Project Professional 2010连接,则值将为0 。
备注
Project Server 2007 升级到Project Server 2010,兼容性模式值时,默认情况下ProjectServer2007 。这使 Project Professional 2007 以连接到Project Server 2010。
对于Project Server 2010, Project Web App (https://ServerName/ProjectServerName/_layouts/pwa/Admin/ServerConfig.aspx) 中的其他服务器设置页包括的兼容性模式设置。Project Server 2013没有兼容性模式设置。
Project Server 权限
权限 |
说明 |
---|---|
允许用户登录到 Project Server。全局权限。 |