Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Sets a custom server or CIM provider option (Boolean value).
Namespace:   Microsoft.Management.Infrastructure.Options
Assembly:  Microsoft.Management.Infrastructure (in Microsoft.Management.Infrastructure.dll)
Syntax
public void SetCustomOption(
    string optionName,
    bool optionValue,
    bool mustComply
)
public:
void SetCustomOption(
    String^ optionName,
    bool optionValue,
    bool mustComply
)
member SetCustomOption : 
        optionName:string *
        optionValue:bool *
        mustComply:bool -> unit
Public Sub SetCustomOption (
    optionName As String,
    optionValue As Boolean,
    mustComply As Boolean
)
Parameters
- optionName 
 Type: System.String- The name of the option. 
- optionValue 
 Type: System.Boolean- The value to set for the option name. 
- mustComply 
 Type: System.Boolean- True to comply with the option; otherwise, False. 
See Also
SetCustomOption Overload
CimOperationOptions Class
Microsoft.Management.Infrastructure.Options Namespace
Return to top