Admin.GetServerCurrency 方法

读取 Project Server 的货币设置。

命名空间:  WebSvcAdmin
程序集:  ProjectServerServices(位于 ProjectServerServices.dll 中)

语法

声明
<SoapDocumentMethodAttribute("https://schemas.microsoft.com/office/project/server/webservices/Admin/GetServerCurrency", 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 GetServerCurrency As String
用法
Dim instance As Admin
Dim returnValue As String

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

返回值

类型:System.String
货币的三个字符代码。

备注

Project Web App (https://ServerName/ProjectServerName/_layouts/pwa/Admin/ServerConfig.aspx) 中的其他服务器设置页上使用GetServerCurrency方法。例如,默认美国货币是USD。

Project Server 权限

权限

说明

LogOn

允许用户登录到 Project Server。全局权限。

另请参阅

引用

Admin 类

Admin 成员

WebSvcAdmin 命名空间

SetServerCurrency