Windows Dev Center

Expand Minimize

MI_SubscriptionDeliveryOptionsFT structure

A support structure used in the MI_SubscriptionDeliveryOptions structure. Use the functions with the name prefix "MI_SubscriptionDeliveryOptions_" to manipulate these structures.

Syntax


typedef struct _MI_SubscriptionDeliveryOptionsFT {
  MI_Result (MI_CALL *SetString)(
      _Inout_ MI_SubscriptionDeliveryOptions *options, 
      _In_ const MI_Char *optionName, 
      _In_ const MI_Char *value, 
      MI_Uint32 flags);
  MI_Result (MI_CALL *SetNumber)(
      _Inout_ MI_SubscriptionDeliveryOptions *options, 
      _In_ const MI_Char *optionName, 
      _In_ MI_Uint32 value, 
      MI_Uint32 flags);
  MI_Result (MI_CALL *SetDateTime)(
      _Inout_ MI_SubscriptionDeliveryOptions *options, 
      _In_ const MI_Char *optionName, 
      _In_ const MI_Datetime *value, 
      MI_Uint32 flags);
  MI_Result (MI_CALL *SetInterval)(
      _Inout_ MI_SubscriptionDeliveryOptions *options, 
      _In_ const MI_Char *optionName, 
      _In_ const MI_Interval *value, 
      MI_Uint32 flags);
  MI_Result (MI_CALL *AddCredentials)(
      _Inout_ MI_SubscriptionDeliveryOptions *options, 
      _In_ const MI_Char *optionName, 
      _In_ const MI_UserCredentials *credentials, 
      MI_Uint32 flags);
  MI_Result (MI_CALL *Delete)(_Inout_ MI_SubscriptionDeliveryOptions *self);
  MI_Result (MI_CALL *GetString)(
      _In_ MI_SubscriptionDeliveryOptions *options, 
      _In_ const MI_Char *optionName, 
      _Out_ const MI_Char **value, 
      _Out_opt_ MI_Uint32 *index, 
      _Out_opt_ MI_Uint32 *flags);
  MI_Result (MI_CALL *GetNumber)(
      _In_ MI_SubscriptionDeliveryOptions *options, 
      _In_z_ const MI_Char *optionName, 
      _Out_ MI_Uint32 *value, 
      _Out_opt_ MI_Uint32 *index, 
      _Out_opt_ MI_Uint32 *flags);
  MI_Result (MI_CALL *GetDateTime)(
      _In_ MI_SubscriptionDeliveryOptions *options, 
      _In_ const MI_Char *optionName, 
      _Out_ const MI_Datetime *value, 
      _Out_opt_ MI_Uint32 *index, 
      _Out_opt_ MI_Uint32 *flags);
  MI_Result (MI_CALL *GetInterval)(
      _In_ MI_SubscriptionDeliveryOptions *options, 
      _In_ const MI_Char *optionName, 
      _Out_ const MI_Interval *value, 
      _Out_opt_ MI_Uint32 *index, 
      _Out_opt_ MI_Uint32 *flags);
  MI_Result (MI_CALL *GetOptionCount)(
      _In_ MI_SubscriptionDeliveryOptions *options, 
      _Out_opt_ MI_Uint32 *count);
  MI_Result (MI_CALL *GetOptionAt)(
      _In_ MI_SubscriptionDeliveryOptions *options, 
      MI_Uint32 index, 
      _Out_ const MI_Char **optionName, 
      _Out_ const MI_Value *value, 
      _Out_ MI_Type *type, 
      _Out_opt_ MI_Uint32 *flags);
  MI_Result (MI_CALL *GetOption)(
      _In_ MI_SubscriptionDeliveryOptions *options, 
      _In_ const MI_Char *optionName, 
      _Out_ const MI_Value *value, 
      _Out_ MI_Type *type, 
      _Out_opt_ MI_Uint32 *index, 
      _Out_opt_ MI_Uint32 *flags);
  MI_Result (MI_CALL *GetCredentialsCount)(
      _In_ MI_SubscriptionDeliveryOptions *options, 
      _Out_ MI_Uint32 *count);
  MI_Result (MI_CALL *GetCredentialsAt)(
      _In_ MI_SubscriptionDeliveryOptions *options, 
      MI_Uint32 index, 
      _Out_ const MI_Char **optionName, 
      _Out_ const MI_UserCredentials *credentials, 
      _Out_opt_ MI_Uint32 *flags);
  MI_Result (MI_CALL *GetCredentialsPasswordAt)(
      _In_ MI_SubscriptionDeliveryOptions *options, 
      MI_Uint32 index, 
      _Out_ const MI_Char **optionName, 
      _Out_opt_ MI_Char *password, 
      _In_ MI_Uint32 *bufferLength, 
      _Out_ MI_Uint32 *passwordLength, 
      _Out_opt_ MI_Uint32 *flags);
  MI_Result (MI_CALL *Clone)(
      _In_ const MI_SubscriptionDeliveryOptions *options, 
      _Out_ MI_SubscriptionDeliveryOptions *newSubscriptionDeliveryOptions);
} MI_SubscriptionDeliveryOptionsFT;

Members

SetString

Sets the value of a named string option. See MI_SubscriptionDeliveryOptions_SetString.

SetNumber

Sets the value of a named numeric option. See MI_SubscriptionDeliveryOptions_SetNumber.

SetDateTime

Sets the value of a named DateTime option. See MI_SubscriptionDeliveryOptions_SetDateTime.

SetInterval

Sets the value of a named interval option. See MI_SubscriptionDeliveryOptions_SetInterval.

AddCredentials

Used Internally.

Delete

Deletes the specified subscription delivery options structure. See MI_SubscriptionDeliveryOptions_Delete.

GetString

Gets the value of the named string option. See MI_SubscriptionDeliveryOptions_GetString.

GetNumber

Gets the value of the named numeric option. See MI_SubscriptionDeliveryOptions_GetNumber.

GetDateTime

Gets a previously set DateTime option. See MI_SubscriptionDeliveryOptions_GetDateTime.

GetInterval

Gets the delivery interval for a specified option. See MI_SubscriptionDeliveryOptions_GetInterval.

GetOptionCount

Gets the number of previously set options. See MI_SubscriptionDeliveryOptions_GetOptionCount.

GetOptionAt

Gets the option at the specified index. See MI_SubscriptionDeliveryOptions_GetOptionAt.

GetOption

Gets the value of the named option. See MI_SubscriptionDeliveryOptions_GetOption.

GetCredentialsCount

Gets the number of previously added credentials. See MI_SubscriptionDeliveryOptions_GetCredentialsCount.

GetCredentialsAt

Gets a previously added credential based on a specified index. See MI_SubscriptionDeliveryOptions_GetCredentialsAt.

GetCredentialsPasswordAt

Gets a previously added credential password based on a specified index. See MI_SubscriptionDeliveryOptions_GetCredentialsPasswordAt.

Clone

Creates a copy of a MI_SubscriptionDeliveryOptions structure. See MI_SubscriptionDeliveryOptions_Clone.

Requirements

Minimum supported client

Windows 8

Minimum supported server

Windows Server 2012

Redistributable

Windows Management Framework 3.0 on Windows Server 2008 R2 with SP1, Windows 7 with SP1, and Windows Server 2008 with SP2

Header

Mi.h

 

 

Show:
© 2015 Microsoft