Partager via


CimSessionOptions.SetCustomOption Method (String, UInt32)

 

Sets a custom option to an integer value.

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

Syntax

public void SetCustomOption(
    string optionName,
    uint optionValue
)
public:
void SetCustomOption(
    String^ optionName,
    unsigned int optionValue
)
member SetCustomOption : 
        optionName:string *
        optionValue:uint32 -> unit
Public Sub SetCustomOption (
    optionName As String,
    optionValue As UInteger
)

Parameters

  • optionValue
    Type: System.UInt32

    The value to assign for the option name.

See Also

SetCustomOption Overload
CimSessionOptions Class
Microsoft.Management.Infrastructure.Options Namespace

Return to top