共用方式為


CimSession.EnumerateClasses Method

Definition

Overloads

EnumerateClasses(String)
EnumerateClasses(String, String)
EnumerateClasses(String, String, CimOperationOptions)

EnumerateClasses(String)

public:
 System::Collections::Generic::IEnumerable<Microsoft::Management::Infrastructure::CimClass ^> ^ EnumerateClasses(System::String ^ namespaceName);
public System.Collections.Generic.IEnumerable<Microsoft.Management.Infrastructure.CimClass> EnumerateClasses (string namespaceName);
member this.EnumerateClasses : string -> seq<Microsoft.Management.Infrastructure.CimClass>
Public Function EnumerateClasses (namespaceName As String) As IEnumerable(Of CimClass)

Parameters

namespaceName
String

Returns

Applies to

EnumerateClasses(String, String)

public:
 System::Collections::Generic::IEnumerable<Microsoft::Management::Infrastructure::CimClass ^> ^ EnumerateClasses(System::String ^ namespaceName, System::String ^ className);
public System.Collections.Generic.IEnumerable<Microsoft.Management.Infrastructure.CimClass> EnumerateClasses (string namespaceName, string className);
member this.EnumerateClasses : string * string -> seq<Microsoft.Management.Infrastructure.CimClass>
Public Function EnumerateClasses (namespaceName As String, className As String) As IEnumerable(Of CimClass)

Parameters

namespaceName
String
className
String

Returns

Applies to

EnumerateClasses(String, String, CimOperationOptions)

public:
 System::Collections::Generic::IEnumerable<Microsoft::Management::Infrastructure::CimClass ^> ^ EnumerateClasses(System::String ^ namespaceName, System::String ^ className, Microsoft::Management::Infrastructure::Options::CimOperationOptions ^ options);
public System.Collections.Generic.IEnumerable<Microsoft.Management.Infrastructure.CimClass> EnumerateClasses (string namespaceName, string className, Microsoft.Management.Infrastructure.Options.CimOperationOptions options);
member this.EnumerateClasses : string * string * Microsoft.Management.Infrastructure.Options.CimOperationOptions -> seq<Microsoft.Management.Infrastructure.CimClass>
Public Function EnumerateClasses (namespaceName As String, className As String, options As CimOperationOptions) As IEnumerable(Of CimClass)

Parameters

namespaceName
String
className
String

Returns

Applies to