Admin.SetSingleCurrencyEnforced 方法
设置 Project server 的单一币种实施。
命名空间: WebSvcAdmin
程序集: ProjectServerServices(位于 ProjectServerServices.dll 中)
语法
声明
<SoapDocumentMethodAttribute("https://schemas.microsoft.com/office/project/server/webservices/Admin/SetSingleCurrencyEnforced", 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 SetSingleCurrencyEnforced ( _
bEnforced As Boolean _
)
用法
Dim instance As Admin
Dim bEnforced As Boolean
instance.SetSingleCurrencyEnforced(bEnforced)
[SoapDocumentMethodAttribute("https://schemas.microsoft.com/office/project/server/webservices/Admin/SetSingleCurrencyEnforced", 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 SetSingleCurrencyEnforced(
bool bEnforced
)
参数
bEnforced
类型:System.Boolean指定是否强制单一币种。
备注
Project Web App (https://ServerName/ProjectServerName/_layouts/pwa/Admin/ServerConfig.aspx) 中的其他服务器设置页上使用SetSingleCurrencyEnforced方法。
Project Server 权限
权限 |
说明 |
---|---|
允许用户管理 Project Server 的配置信息。全局权限。 |