Admin.SetCompatibilityMode 方法
已过时Project Server 2013中。
命名空间: WebSvcAdmin
程序集: ProjectServerServices(位于 ProjectServerServices.dll 中)
语法
声明
<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 _
)
用法
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
)
参数
mode
类型:System.Int32可以是Admin.CompatibilityModes常量之一。
备注
Project Server 2010比较modeProjectServer2007值。如果mode = ProjectServer2010,兼容模式处于关闭状态。0mode值设置 Project Server 以本机模式,可以仅使用Project Professional 2010连接运行。
Project Server 2007 升级到Project Server 2010,兼容性模式值时,默认情况下ProjectServer2007 。这使 Project Professional 2007 以连接到Project Server 2010。当兼容模式处于关闭状态时,无法在以后降级Project Server 2010 。
对于Project Server 2010, Project Web App (https://ServerName/ProjectServerName/_layouts/pwa/Admin/ServerConfig.aspx) 中的其他服务器设置页包括的兼容性模式设置。Project Server 2013没有兼容性模式设置。
Project Server 权限
权限 |
说明 |
---|---|
允许用户管理 Project Server 的配置信息。全局权限。 |