MI_SubscriptionDeliveryOptions_SetDeliveryPortNumber function (mi.h)

Sets the subscription delivery port number.

Syntax

MI_INLINE MI_Result MI_SubscriptionDeliveryOptions_SetDeliveryPortNumber(
  [in, out] MI_SubscriptionDeliveryOptions *self,
  [in]      MI_Uint32                      value
);

Parameters

[in, out] self

A pointer to a MI_SubscriptionDeliveryOptions structure.

[in] value

Port number to use for delivering indications.

Return value

A value of the MI_Result enumeration that specifies the function return code. This can be one of the following codes.

Remarks

This function is only valid when using Windows Remote Management (WinRM). It is relevant only for push delivery.

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

See also

MI_SubscriptionDeliveryOptions

MI_SubscriptionDeliveryOptions_GetDeliveryDestination

MI_SubscriptionDeliveryOptions_GetDeliveryPortNumber

MI_SubscriptionDeliveryOptions_GetDeliveryRetryAttempts

MI_SubscriptionDeliveryOptions_GetDeliveryRetryInterval

MI_SubscriptionDeliveryOptions_SetDeliveryDestination

MI_SubscriptionDeliveryOptions_SetDeliveryRetryAttempts

MI_SubscriptionDeliveryOptions_SetDeliveryRetryInterval