Partager via


GetCimInstanceCommand.Shallow Property

Definition

The following is the definition of the input parameter "Shallow". If the switch is set to True, only instance of the class identified by Namespace + ClassName will be returned. If the switch is not set, instances of the above class and of all of its descendents will be returned (the enumeration will cascade the class inheritance hierarchy).

public System.Management.Automation.SwitchParameter Shallow { get; set; }
[System.Management.Automation.Parameter(ParameterSetName="ClassNameComputerSet")]
[System.Management.Automation.Parameter(ParameterSetName="ClassNameSessionSet")]
[System.Management.Automation.Parameter(ParameterSetName="ResourceUriSessionSet")]
[System.Management.Automation.Parameter(ParameterSetName="ResourceUriComputerSet")]
[System.Management.Automation.Parameter(ParameterSetName="QueryComputerSet")]
[System.Management.Automation.Parameter(ParameterSetName="QuerySessionSet")]
public System.Management.Automation.SwitchParameter Shallow { get; set; }
member this.Shallow : System.Management.Automation.SwitchParameter with get, set
[<System.Management.Automation.Parameter(ParameterSetName="ClassNameComputerSet")>]
[<System.Management.Automation.Parameter(ParameterSetName="ClassNameSessionSet")>]
[<System.Management.Automation.Parameter(ParameterSetName="ResourceUriSessionSet")>]
[<System.Management.Automation.Parameter(ParameterSetName="ResourceUriComputerSet")>]
[<System.Management.Automation.Parameter(ParameterSetName="QueryComputerSet")>]
[<System.Management.Automation.Parameter(ParameterSetName="QuerySessionSet")>]
member this.Shallow : System.Management.Automation.SwitchParameter with get, set
Public Property Shallow As SwitchParameter

Property Value

Attributes

Applies to