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
optionName
Type: System.StringThe option name.
optionValue
Type: System.StringThe value to assign for the option name.
See Also
SetCustomOption Overload
CimSessionOptions Class
Microsoft.Management.Infrastructure.Options Namespace
Return to top