次の方法で共有


CimSessionOptions.SetCustomOption Method (String, String)

 

Sets a custom option to a string value.

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

Syntax

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

Parameters

  • optionValue
    Type: System.String

    The value to assign for the option name.

See Also

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

Return to top