共用方式為


CimSession.EnumerateInstancesAsync Method

Definition

Overloads

EnumerateInstancesAsync(String, String)
EnumerateInstancesAsync(String, String, CimOperationOptions)

EnumerateInstancesAsync(String, String)

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

Parameters

namespaceName
String
className
String

Returns

Applies to

EnumerateInstancesAsync(String, String, CimOperationOptions)

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

Parameters

namespaceName
String
className
String

Returns

Applies to