ExceptionMessageBox.DefaultButton Property
Gets or sets the default button on the message box.
Namespace: Microsoft.SqlServer.MessageBox
Assembly: Microsoft.ExceptionMessageBox (in Microsoft.ExceptionMessageBox.dll)
Syntax
'Declaration
Public Property DefaultButton As ExceptionMessageBoxDefaultButton
Get
Set
'Usage
Dim instance As ExceptionMessageBox
Dim value As ExceptionMessageBoxDefaultButton
value = instance.DefaultButton
instance.DefaultButton = value
public ExceptionMessageBoxDefaultButton DefaultButton { get; set; }
public:
property ExceptionMessageBoxDefaultButton DefaultButton {
ExceptionMessageBoxDefaultButton get ();
void set (ExceptionMessageBoxDefaultButton value);
}
member DefaultButton : ExceptionMessageBoxDefaultButton with get, set
function get DefaultButton () : ExceptionMessageBoxDefaultButton
function set DefaultButton (value : ExceptionMessageBoxDefaultButton)
Property Value
Type: Microsoft.SqlServer.MessageBox.ExceptionMessageBoxDefaultButton
An ExceptionMessageBoxDefaultButton object.
Remarks
The default value is Button1.