Leer en inglés

Compartir a través de


Admin.GetServerCurrency Method

Reads the currency setting for Project Server.

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/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
'Usage
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()

Return Value

Type: System.String
The three-character code for the currency.

Remarks

The Additional Server Settings page in Project Web App (https://ServerName/ProjectServerName/_layouts/pwa/Admin/ServerConfig.aspx) uses the GetServerCurrency method. For example, the default United States currency is USD.

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

SetServerCurrency