Udostępnij za pośrednictwem


CimOperationOptions.SetOption Method

Definition

Overloads

SetOption(String, String)
SetOption(String, UInt32)

SetOption(String, String)

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

Parameters

optionName
String
optionValue
String

Applies to

SetOption(String, UInt32)

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

Parameters

optionName
String
optionValue
UInt32

Applies to