共用方式為


CimSession.QueryInstancesAsync Method

Definition

Overloads

QueryInstancesAsync(String, String, String)
QueryInstancesAsync(String, String, String, CimOperationOptions)

QueryInstancesAsync(String, String, String)

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

Parameters

namespaceName
String
queryDialect
String
queryExpression
String

Returns

Applies to

QueryInstancesAsync(String, String, String, CimOperationOptions)

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

Parameters

namespaceName
String
queryDialect
String
queryExpression
String

Returns

Applies to