SetServiceCommand.InputObject Property

Definition

The following is the definition of the input parameter "InputObject". Specifies ServiceController object representing the services to be stopped. Enter a variable that contains the objects or type a command or expression that gets the objects.

public:
 property System::ServiceProcess::ServiceController ^ InputObject { System::ServiceProcess::ServiceController ^ get(); void set(System::ServiceProcess::ServiceController ^ value); };
public System.ServiceProcess.ServiceController InputObject { get; set; }
[System.Management.Automation.Parameter(Mandatory=true, ParameterSetName="InputObject", Position=0, ValueFromPipeline=true)]
public System.ServiceProcess.ServiceController InputObject { get; set; }
member this.InputObject : System.ServiceProcess.ServiceController with get, set
[<System.Management.Automation.Parameter(Mandatory=true, ParameterSetName="InputObject", Position=0, ValueFromPipeline=true)>]
member this.InputObject : System.ServiceProcess.ServiceController with get, set
Public Property InputObject As ServiceController

Property Value

Attributes

Applies to