Dela via


CimSession.SubscribeAsync Method

Definition

Overloads

SubscribeAsync(String, String, String)
SubscribeAsync(String, String, String, CimOperationOptions)
SubscribeAsync(String, String, String, CimSubscriptionDeliveryOptions)
SubscribeAsync(String, String, String, CimOperationOptions, CimSubscriptionDeliveryOptions)

SubscribeAsync(String, String, String)

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

Parameters

namespaceName
String
queryDialect
String
queryExpression
String

Returns

Applies to

SubscribeAsync(String, String, String, CimOperationOptions)

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

Parameters

namespaceName
String
queryDialect
String
queryExpression
String
operationOptions
CimOperationOptions

Returns

Applies to

SubscribeAsync(String, String, String, CimSubscriptionDeliveryOptions)

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

Parameters

namespaceName
String
queryDialect
String
queryExpression
String

Returns

Applies to

SubscribeAsync(String, String, String, CimOperationOptions, CimSubscriptionDeliveryOptions)

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

Parameters

namespaceName
String
queryDialect
String
queryExpression
String
operationOptions
CimOperationOptions

Returns

Applies to