Partager via


MultipleServiceCommandBase.Exclude Property

Definition

Lets you exclude particular services. Services matching one of these (if specified) are excluded. These are interpreted as either ServiceNames or DisplayNames according to the parameter set.

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

Property Value

String[]
Attributes

Applies to