CimSession.Subscribe Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
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
- options
- CimSubscriptionDeliveryOptions
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
- options
- CimSubscriptionDeliveryOptions
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