共用方式為


CimSessionOptions.SetCustomOption Method

Definition

Overloads

SetCustomOption(String, String)
SetCustomOption(String, UInt32)

SetCustomOption(String, String)

public:
 void SetCustomOption(System::String ^ optionName, System::String ^ optionValue);
public:
 void SetCustomOption(Platform::String ^ optionName, Platform::String ^ optionValue);
void SetCustomOption(std::wstring const & optionName, std::wstring const & optionValue);
public void SetCustomOption (string optionName, string optionValue);
member this.SetCustomOption : string * string -> unit
Public Sub SetCustomOption (optionName As String, optionValue As String)

Parameters

optionName
String
optionValue
String

Applies to

SetCustomOption(String, UInt32)

public:
 void SetCustomOption(System::String ^ optionName, System::UInt32 optionValue);
public:
 void SetCustomOption(Platform::String ^ optionName, unsigned int optionValue);
void SetCustomOption(std::wstring const & optionName, unsigned int optionValue);
public void SetCustomOption (string optionName, uint optionValue);
member this.SetCustomOption : string * uint32 -> unit
Public Sub SetCustomOption (optionName As String, optionValue As UInteger)

Parameters

optionName
String
optionValue
UInt32

Applies to