Share via


Admin.GetServerCurrency Method

Gets the currency setting for Project Server.

Namespace:  WebSvcAdmin
Assembly:  ProjectServerWebServices (in ProjectServerWebServices.dll)

Syntax

'Declaration
<SoapDocumentMethodAttribute("http://schemas.microsoft.com/office/project/server/webservices/Admin/GetServerCurrency", RequestNamespace := "http://schemas.microsoft.com/office/project/server/webservices/Admin/",  _
    ResponseNamespace := "http://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("http://schemas.microsoft.com/office/project/server/webservices/Admin/GetServerCurrency", RequestNamespace = "http://schemas.microsoft.com/office/project/server/webservices/Admin/", 
    ResponseNamespace = "http://schemas.microsoft.com/office/project/server/webservices/Admin/", 
    Use = SoapBindingUse.Literal, ParameterStyle = SoapParameterStyle.Wrapped)]
public string GetServerCurrency()

Return Value

Type: System.String

Remarks

The Additional Server Settings page in Project Web Access (http://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

Log on to Project Server. Global permission.

See Also

Reference

Admin Class

Admin Members

WebSvcAdmin Namespace

SetServerCurrency