共用方式為


SetServiceCommand.Name Property

Definition

service name

public:
 property System::String ^ Name { System::String ^ get(); void set(System::String ^ value); };
public:
 property Platform::String ^ Name { Platform::String ^ get(); void set(Platform::String ^ value); };
public string Name { get; set; }
[System.Management.Automation.Alias(new System.String[] { "ServiceName", "SN" })]
[System.Management.Automation.Parameter(Mandatory=true, ParameterSetName="Name", Position=0, ValueFromPipeline=true, ValueFromPipelineByPropertyName=true)]
public string Name { get; set; }
member this.Name : string with get, set
[<System.Management.Automation.Alias(new System.String[] { "ServiceName", "SN" })>]
[<System.Management.Automation.Parameter(Mandatory=true, ParameterSetName="Name", Position=0, ValueFromPipeline=true, ValueFromPipelineByPropertyName=true)>]
member this.Name : string with get, set
Public Property Name As String

Property Value

Attributes

Applies to