Partager via


CimSession.Subscribe Method

Definition

Overloads

Subscribe(String, String, String, CimOperationOptions, CimSubscriptionDeliveryOptions)
Subscribe(String, String, String, CimSubscriptionDeliveryOptions)
Subscribe(String, String, String, CimOperationOptions)
Subscribe(String, String, String)

Subscribe(String, String, String, CimOperationOptions, CimSubscriptionDeliveryOptions)

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

Parameters

namespaceName
String
queryDialect
String
queryExpression
String
operationOptions
CimOperationOptions

Returns

Applies to

Subscribe(String, String, String, CimSubscriptionDeliveryOptions)

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

Parameters

namespaceName
String
queryDialect
String
queryExpression
String

Returns

Applies to

Subscribe(String, String, String, CimOperationOptions)

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

Parameters

namespaceName
String
queryDialect
String
queryExpression
String
operationOptions
CimOperationOptions

Returns

Applies to

Subscribe(String, String, String)

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

Parameters

namespaceName
String
queryDialect
String
queryExpression
String

Returns

Applies to