다음을 통해 공유


CimOperationOptions.SetCustomOption Method (String, Int32, Boolean)

 

Sets a custom server or CIM provider option (32-bit integer value).

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

Syntax

public void SetCustomOption(
    string optionName,
    int optionValue,
    bool mustComply
)
public:
void SetCustomOption(
    String^ optionName,
    int optionValue,
    bool mustComply
)
member SetCustomOption : 
        optionName:string *
        optionValue:int *
        mustComply:bool -> unit
Public Sub SetCustomOption (
    optionName As String,
    optionValue As Integer,
    mustComply As Boolean
)

Parameters

  • optionValue
    Type: System.Int32

    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