CimOperationOptions.SetCustomOption Method (String, UInt16, Boolean)
Sets a custom server or CIM provider option (unsigned 16-bit integer value).
Namespace: Microsoft.Management.Infrastructure.Options
Assembly: Microsoft.Management.Infrastructure (in Microsoft.Management.Infrastructure.dll)
Syntax
public void SetCustomOption(
string optionName,
ushort optionValue,
bool mustComply
)
public:
void SetCustomOption(
String^ optionName,
unsigned short optionValue,
bool mustComply
)
member SetCustomOption :
optionName:string *
optionValue:uint16 *
mustComply:bool -> unit
Public Sub SetCustomOption (
optionName As String,
optionValue As UShort,
mustComply As Boolean
)
Parameters
optionName
Type: System.StringThe name of the option.
optionValue
Type: System.UInt16The value to set for the option name.
mustComply
Type: System.BooleanTrue to comply with the option; otherwise, False.
See Also
SetCustomOption Overload
CimOperationOptions Class
Microsoft.Management.Infrastructure.Options Namespace
Return to top