CimOperationOptions.SetCustomOption Method (String, Object, CimType, Boolean)
Sets a custom server or CIM provider option (object value).
Namespace: Microsoft.Management.Infrastructure.Options
Assembly: Microsoft.Management.Infrastructure (in Microsoft.Management.Infrastructure.dll)
Syntax
public void SetCustomOption(
string optionName,
object optionValue,
CimType cimType,
bool mustComply
)
public:
void SetCustomOption(
String^ optionName,
Object^ optionValue,
CimType cimType,
bool mustComply
)
member SetCustomOption :
optionName:string *
optionValue:Object *
cimType:CimType *
mustComply:bool -> unit
Public Sub SetCustomOption (
optionName As String,
optionValue As Object,
cimType As CimType,
mustComply As Boolean
)
Parameters
optionName
Type: System.StringThe name of the option.
optionValue
Type: System.ObjectThe value to set for the option name.
cimType
Type: Microsoft.Management.Infrastructure.CimTypeThe CIM type of the option value.
mustComply
Type: System.BooleanTrue to comply with the option; otherwise, False.
See Also
SetCustomOption Overload
CimOperationOptions Class
Microsoft.Management.Infrastructure.Options Namespace
Return to top