Partager via


Admin.SetServerCurrency - Méthode

Définit la devise pour Project Server.

Espace de noms :  WebSvcAdmin
Assembly :  ProjectServerServices (dans ProjectServerServices.dll)

Syntaxe

'Déclaration
<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 _
)
'Utilisation
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
)

Paramètres

  • sCurrency
    Type : System.String

    La devise à utiliser, par exemple USD.

Remarques

La page Paramètres serveur supplémentaires dans Project Web App (https://ServerName/ProjectServerName/_layouts/pwa/Admin/ServerConfig.aspx) utilise la méthode SetServerCurrency .

Autorisations Project Server

Autorisation

Description

ManageServerConfiguration

Permet à un utilisateur de gérer les informations de configuration pour Project Server. Autorisation globale.

Voir aussi

Référence

Admin classe

Admin - Membres

WebSvcAdmin - Espace de noms

GetServerCurrency