共用方式為


CimSession.EnumerateClassesAsync Method

Definition

Overloads

EnumerateClassesAsync(String, String)
EnumerateClassesAsync(String, String, CimOperationOptions)
EnumerateClassesAsync(String)

EnumerateClassesAsync(String, String)

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

Parameters

namespaceName
String
className
String

Returns

Applies to

EnumerateClassesAsync(String, String, CimOperationOptions)

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

Parameters

namespaceName
String
className
String

Returns

Applies to

EnumerateClassesAsync(String)

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

Parameters

namespaceName
String

Returns

Applies to