Condividi tramite


MultipleServiceCommandBase.InputObject Property

Definition

If the input is a stream of [collections of] ServiceController objects, we bypass the ServiceName and DisplayName parameters and read the ServiceControllers directly. This allows us to deal with services which have wildcard characters in their name (servicename or displayname).

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

Property Value

ServiceController objects

Attributes

Applies to