Condividi tramite


CimOperationOptions.SetCustomOption Method (String, Byte, Boolean)

 

Sets a custom server or CIM provider option (byte value).

Namespace:   Microsoft.Management.Infrastructure.Options
Assembly:  Microsoft.Management.Infrastructure (in Microsoft.Management.Infrastructure.dll)

Syntax

public void SetCustomOption(
    string optionName,
    byte optionValue,
    bool mustComply
)
public:
void SetCustomOption(
    String^ optionName,
    unsigned char optionValue,
    bool mustComply
)
member SetCustomOption : 
        optionName:string *
        optionValue:byte *
        mustComply:bool -> unit
Public Sub SetCustomOption (
    optionName As String,
    optionValue As Byte,
    mustComply As Boolean
)

Parameters

  • optionValue
    Type: System.Byte

    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