次の方法で共有


Admin.SetSingleCurrencyEnforced Method

Sets enforcement of a single 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/SetSingleCurrencyEnforced", 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 SetSingleCurrencyEnforced ( _
    bEnforced As Boolean _
)
'Usage
Dim instance As Admin
Dim bEnforced As Boolean

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

Parameters

  • bEnforced
    Type: System.Boolean
    Specifies whether 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 SetSingleCurrencyEnforced 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

GetSingleCurrencyEnforced