Partager via


SetServiceCommand.Description Property

Definition

The following is the definition of the input parameter "Description". Specifies a new description for the service. The service description appears in Services in Computer Management. Description is not a property of the ServiceController object that Get-Service retrieve

public:
 property System::String ^ Description { System::String ^ get(); void set(System::String ^ value); };
public:
 property Platform::String ^ Description { Platform::String ^ get(); void set(Platform::String ^ value); };
public string Description { get; set; }
[System.Management.Automation.Parameter]
[System.Management.Automation.ValidateNotNullOrEmpty]
public string Description { get; set; }
member this.Description : string with get, set
[<System.Management.Automation.Parameter>]
[<System.Management.Automation.ValidateNotNullOrEmpty>]
member this.Description : string with get, set
Public Property Description As String

Property Value

Attributes

Applies to