MI_Application_NewSubscriptionDeliveryOptions function (mi.h)

Creates an MI_SubscriptionDeliveryOptions object that represents the configuration needed to carry out subscribe operations over certain protocols.

Syntax

MI_INLINE MI_Result MI_Application_NewSubscriptionDeliveryOptions(
  [in]  MI_Application                 *application,
  [in]  MI_SubscriptionDeliveryType    deliveryType,
  [out] MI_SubscriptionDeliveryOptions *deliveryOptions
);

Parameters

[in] application

A pointer to a handle returned from the MI_Application_Initialize function.

[in] deliveryType

A value of the MI_SubscriptionDeliveryType enumeration that specifies how the indications are delivered.

[out] deliveryOptions

The returned MI_SubscriptionDeliveryOptions object.

Return value

This function returns MI_INLINE MI_Result.

Remarks

When you have finished using the returned MI_SubscriptionDeliveryOptions object, close it by calling the MI_SubscriptionDeliveryOptions_Delete function.

Requirements

Requirement Value
Minimum supported client Windows 8
Minimum supported server Windows Server 2012
Target Platform Windows
Header mi.h
Redistributable Windows Management Framework 3.0 on Windows Server 2008 R2 with SP1, Windows 7 with SP1, and Windows Server 2008 with SP2