Condividi tramite


CimOperationOptions.SetOption Method (String, String)

 

Sets a custom transport option to a string value.

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

Syntax

public void SetOption(
    string optionName,
    string optionValue
)
public:
void SetOption(
    String^ optionName,
    String^ optionValue
)
member SetOption : 
        optionName:string *
        optionValue:string -> unit
Public Sub SetOption (
    optionName As String,
    optionValue As String
)

Parameters

  • optionValue
    Type: System.String

    The value to assign for the option name.

See Also

SetOption Overload
CimOperationOptions Class
Microsoft.Management.Infrastructure.Options Namespace

Return to top