Condividi tramite


Admin.SetServerCurrency Method

Sets the currency 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/SetServerCurrency", 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 SetServerCurrency ( _
    sCurrency As String _
)
'Usage
Dim instance As Admin
Dim sCurrency As String

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

Parameters

  • sCurrency
    Type: System.String
    The currency to use, for example USD.

Remarks

The Additional Server Settings page in Project Web App (https://ServerName/ProjectServerName/_layouts/pwa/Admin/ServerConfig.aspx) uses the SetServerCurrency method.

Project Server Permissions

Permission

Description

ManageServerConfiguration

Allows a user to manage the configuration information for Project Server. Global permission.

See Also

Reference

Admin Class

Admin Members

Admin Web Service

GetServerCurrency