Share via


GetCimClassCommand.Namespace Property

 

Gets and sets the Namespace parameter, which specifies the namespace under which to look for the specified class name. If no class name is specified, the cmdlet will return all classes under the specified namespace. The default value for the namespace is root\cimv2.

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

Syntax

[ParameterAttribute(Position = 1, ValueFromPipelineByPropertyName = true)]
public string Namespace { get; set; }
public:
[ParameterAttribute(Position = 1, ValueFromPipelineByPropertyName = true)]
property String^ Namespace {
    String^ get();
    void set(String^ value);
}
[<ParameterAttribute(Position = 1, ValueFromPipelineByPropertyName = true)>]
member Namespace : string with get, set
<ParameterAttribute(Position := 1, ValueFromPipelineByPropertyName := True)>
Public Property Namespace As String

Property Value

Type: System.String

Returns String.

See Also

GetCimClassCommand Class
Microsoft.Management.Infrastructure.CimCmdlets Namespace

Return to top