Kommentar
Åtkomst till den här sidan kräver auktorisering. Du kan prova att logga in eller ändra kataloger.
Åtkomst till den här sidan kräver auktorisering. Du kan prova att ändra kataloger.
Sets a custom option for the operation.
Syntax
MI_INLINE MI_Result MI_OperationOptions_SetCustomOption(
[in, out] MI_OperationOptions *options,
const MI_Char *optionName,
[in] MI_Type optionValueType,
[in] const MI_Value *optionValue,
MI_Boolean mustComply
);
Parameters
[in, out] options
A pointer to a MI_OperationOptions structure.
optionName
A null-terminated string that represents the name of the option to set.
[in] optionValueType
Option type.
[in] optionValue
New option value.
mustComply
Boolean value where MI_TRUE means that the option must be complied with.
Return value
A value of the MI_Result enumeration that specifies the function return code. This can be one of the following codes.
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 |