ServiceControllerPermissionAttribute.MachineName Propriété
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
Obtient ou définit le nom de l'ordinateur sur lequel le service réside.
public:
property System::String ^ MachineName { System::String ^ get(); void set(System::String ^ value); };
public string MachineName { get; set; }
member this.MachineName : string with get, set
Public Property MachineName As String
Valeur de propriété
Nom de l'ordinateur qui exécute le service associé au ServiceController.
Exceptions
La syntaxe MachineName n'est pas valide.