Share via


GetCimAssociatedInstanceCommand.KeyOnly Property

 

Gets and sets the KeyOnly parameter, which indicates that only key properties of the retrieved instances will be returned to the client.

Namespace:   Microsoft.Management.Infrastructure.CimCmdlets
Assembly:  Microsoft.Management.Infrastructure.CimCmdlets (in Microsoft.Management.Infrastructure.CimCmdlets.dll)

Syntax

[ParameterAttribute]
public SwitchParameter KeyOnly { get; set; }
public:
[ParameterAttribute]
property SwitchParameter KeyOnly {
    SwitchParameter get();
    void set(SwitchParameter value);
}
[<ParameterAttribute>]
member KeyOnly : SwitchParameter with get, set
<ParameterAttribute>
Public Property KeyOnly As SwitchParameter

Property Value

Type: System.Management.Automation.SwitchParameter

Returns SwitchParameter.

See Also

GetCimAssociatedInstanceCommand Class
Microsoft.Management.Infrastructure.CimCmdlets Namespace

Return to top