Share via


GetCimInstanceCommand.ClassName Property

 

Gets and sets the ClassName parameter, which specifies the type of CIM instances to retrieve.

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

Syntax

[ParameterAttribute(Mandatory = true, Position = 0, ValueFromPipelineByPropertyName = true, 
    ParameterSetName = "ClassNameSessionSet")]
[ParameterAttribute(Mandatory = true, Position = 0, ValueFromPipelineByPropertyName = true, 
    ParameterSetName = "ClassNameComputerSet")]
public string ClassName { get; set; }
public:
[ParameterAttribute(Mandatory = true, Position = 0, ValueFromPipelineByPropertyName = true, 
    ParameterSetName = "ClassNameSessionSet")]
[ParameterAttribute(Mandatory = true, Position = 0, ValueFromPipelineByPropertyName = true, 
    ParameterSetName = "ClassNameComputerSet")]
property String^ ClassName {
    String^ get();
    void set(String^ value);
}
[<ParameterAttribute(Mandatory = true, Position = 0, ValueFromPipelineByPropertyName = true,
    ParameterSetName = "ClassNameSessionSet")>]
[<ParameterAttribute(Mandatory = true, Position = 0, ValueFromPipelineByPropertyName = true,
    ParameterSetName = "ClassNameComputerSet")>]
member ClassName : string with get, set
<ParameterAttribute(Mandatory := True, Position := 0, ValueFromPipelineByPropertyName := True,
    ParameterSetName := "ClassNameSessionSet")>
<ParameterAttribute(Mandatory := True, Position := 0, ValueFromPipelineByPropertyName := True,
    ParameterSetName := "ClassNameComputerSet")>
Public Property ClassName As String

Property Value

Type: System.String

Returns String.

See Also

GetCimInstanceCommand Class
Microsoft.Management.Infrastructure.CimCmdlets Namespace

Return to top