다음을 통해 공유


ExceptionMessageBox.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.

참고 항목

참조

ExceptionMessageBox 클래스

Microsoft.SqlServer.MessageBox 네임스페이스