次の方法で共有


Admin.GetSingleCurrencyEnforced Method

Reads the value of the setting for enforcing a single currency.

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/GetSingleCurrencyEnforced", 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 GetSingleCurrencyEnforced As Boolean
'Usage
Dim instance As Admin
Dim returnValue As Boolean

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

Return Value

Type: System.Boolean
True if a single currency is enforced.

Remarks

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

Project Server Permissions

Permission

Description

NewProject

Allows a user to create a new project. Global permission.

LogOnToProjectServerFromProjectProfessional

Allows a user to connect to the Project Server database from Project Professional. Global permission.

ManageServerConfiguration

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

See Also

Reference

Admin Class

Admin Members

Admin Web Service

SetSingleCurrencyEnforced