/// <summary> /// Sets regular prompt user /// </summary> /// <param name="callbackMode"></param> /// <param name="automaticConfirmation"></param> public void SetPromptUserRegularMode(CimCallbackMode callbackMode, bool automaticConfirmation) { this.AssertNotDisposed(); MI_Result result = this.OperationOptionsHandleOnDemand.SetNumber("__MI_OPERATIONOPTIONS_PROMPTUSERMODE", (UInt32)callbackMode, MI_OperationOptionsFlags.Unused); CimException.ThrowIfMiResultFailure(result); }
public void SetPromptUserRegularMode(CimCallbackMode callbackMode, bool automaticConfirmation) { this.AssertNotDisposed(); //CimException.ThrowIfMiResultFailure(OperationOptionsMethods.SetPromptUserRegularMode(this.OperationOptionsHandleOnDemand, (MiCallbackMode)callbackMode, automaticConfirmation)); }