CheckBoxRegistryValue 屬性
Gets or sets the registry value name that controls the check box on the exception message box when ShowCheckbox()()()() is true.
命名空間: Microsoft.SqlServer.MessageBox
組件: Microsoft.ExceptionMessageBox (在 Microsoft.ExceptionMessageBox.dll 中)
語法
'宣告
Public Property CheckBoxRegistryValue As String
Get
Set
'用途
Dim instance As ExceptionMessageBox
Dim value As String
value = instance.CheckBoxRegistryValue
instance.CheckBoxRegistryValue = value
public string CheckBoxRegistryValue { get; set; }
public:
property String^ CheckBoxRegistryValue {
String^ get ();
void set (String^ value);
}
member CheckBoxRegistryValue : string with get, set
function get CheckBoxRegistryValue () : String
function set CheckBoxRegistryValue (value : String)
屬性值
型別:System. . :: . .String
A String value.
備註
CheckBoxRegistryKey is used with CheckBoxRegistryValue to initialize the selected state of the check box. If the specified registry value exists and contains a non-zero value, the check box state is selected; otherwise, it is clear. If ShowCheckbox()()()() is true, CheckBoxRegistryMeansDoNotShowDialog is true, and the registry value exists and contains a non-zero value, the exception message box is not displayed and ExceptionMessageBox returns DefaultDialogResult when Show is called.