共用方式為


MultipleServiceCommandBase.Include Property

Definition

Lets you include particular services. Services not 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 ^> ^ Include { cli::array <System::String ^> ^ get(); void set(cli::array <System::String ^> ^ value); };
public:
 property Platform::Array <Platform::String ^> ^ Include { Platform::Array <Platform::String ^> ^ get(); void set(Platform::Array <Platform::String ^> ^ value); };
public string[] Include { get; set; }
[System.Management.Automation.Parameter]
[System.Management.Automation.ValidateNotNullOrEmpty]
public string[] Include { get; set; }
member this.Include : string[] with get, set
[<System.Management.Automation.Parameter>]
[<System.Management.Automation.ValidateNotNullOrEmpty>]
member this.Include : string[] with get, set
Public Property Include As String()

Property Value

String[]
Attributes

Applies to