MI_DestinationOptionsFT structure (mi.h)

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

Syntax

typedef struct _MI_DestinationOptionsFT {
  void()(MI_DestinationOptions *options)      * Delete;
  MI_Result(MI_DestinationOptions *options, const MI_Char *optionName, const MI_Char *value,MI_Uint32 flags) * )(SetString;
  MI_Result((MI_DestinationOptions *options, const MI_Char *optionName,MI_Uint32 value,MI_Uint32 flags) * )SetNumber;
  MI_Result(MI_DestinationOptions *options, const MI_Char *optionName, const MI_UserCredentials *credentials,MI_Uint32 flags) * )(AddCredentials;
  MI_Result(DestinationOptions *options, const MI_Char *optionName, const MI_Char **value,MI_Uint32 *index,MI_Uint32 *flags) * )(MI_GetString;
  MI_Result(_DestinationOptions *options, const MI_Char *optionName,MI_Uint32 *value,MI_Uint32 *index,MI_Uint32 *flags) * )(MIGetNumber;
  MI_Result((MI_DestinationOptions *options,MI_Uint32 *count) * )GetOptionCount;
  MI_Result(DestinationOptions *options,MI_Uint32 index, const MI_Char **optionName,MI_Value *value,MI_Type *type,MI_Uint32 *flags) * )(MI_GetOptionAt;
  MI_Result(DestinationOptions *options, const MI_Char *optionName,MI_Value *value,MI_Type *type,MI_Uint32 *index,MI_Uint32 *flags) * )(MI_GetOption;
  MI_Result((MI_DestinationOptions *options,MI_Uint32 *count) * )GetCredentialsCount;
  MI_Result(_DestinationOptions *options,MI_Uint32 index, const MI_Char **optionName,MI_UserCredentials *credentials,MI_Uint32 *flags) * )(MIGetCredentialsAt;
  MI_Result(DestinationOptions *options,MI_Uint32 index, const MI_Char **optionName,MI_Char *password,MI_Uint32 bufferLength,MI_Uint32 *passwordLength,MI_Uint32 *flags) * )(MI_GetCredentialsPasswordAt;
  MI_Result((const MI_DestinationOptions *self,MI_DestinationOptions *newDestinationOptions) * )Clone;
  MI_Result(MI_DestinationOptions *options, const MI_Char *optionName, const MI_Interval *value,MI_Uint32 flags) * )(SetInterval;
  MI_Result(_DestinationOptions *options, const MI_Char *optionName,MI_Interval *value,MI_Uint32 *index,MI_Uint32 *flags) * )(MIGetInterval;
} MI_DestinationOptionsFT;

Members

Delete

Deletes the destination options created by using MI_Application_NewDestinationOptions. See MI_DestinationOptions_Delete.

SetString

Sets a custom string option. See MI_DestinationOptions_SetString.

SetNumber

Sets a custom numeric option value. See MI_DestinationOptions_SetNumber.

AddCredentials

Used internally.

GetString

Gets a previously added custom string option. See MI_DestinationOptions_GetString.

GetNumber

Gets a previously added custom number option. See MI_DestinationOptions_GetNumber.

GetOptionCount

Gets the number of options previously added. See MI_DestinationOptions_GetOptionCount.

GetOptionAt

Gets a previously added option value based on the specified index. See MI_DestinationOptions_GetOptionAt.

GetOption

Gets a previously added option value based on the option name. See MI_DestinationOptions_GetOption.

GetCredentialsCount

Gets the number of previously added credentials. See MI_DestinationOptions_GetCredentialsCount.

GetCredentialsAt

Get the credentials at the specified index. See MI_DestinationOptions_GetCredentialsAt.

GetCredentialsPasswordAt

Gets a credentials password based on a specified index. See MI_DestinationOptions_GetCredentialsPasswordAt.

Clone

Creates a copy of a MI_DestinationOptions structure. See MI_DestinationOptions_Clone.

SetInterval

TBD

GetInterval

TBD

Requirements

Requirement Value
Minimum supported client Windows 8
Minimum supported server Windows Server 2012
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