Kommentar
Åtkomst till den här sidan kräver auktorisering. Du kan prova att logga in eller ändra kataloger.
Åtkomst till den här sidan kräver auktorisering. Du kan prova att ändra kataloger.
Gets or sets the buttons to display in the message box.
Namespace: Microsoft.SqlServer.MessageBox
Assembly: Microsoft.ExceptionMessageBox (in Microsoft.ExceptionMessageBox.dll)
Syntax
'Declaration
Public Property Buttons As ExceptionMessageBoxButtons
Get
Set
'Usage
Dim instance As ExceptionMessageBox
Dim value As ExceptionMessageBoxButtons
value = instance.Buttons
instance.Buttons = value
public ExceptionMessageBoxButtons Buttons { get; set; }
public:
property ExceptionMessageBoxButtons Buttons {
ExceptionMessageBoxButtons get ();
void set (ExceptionMessageBoxButtons value);
}
member Buttons : ExceptionMessageBoxButtons with get, set
function get Buttons () : ExceptionMessageBoxButtons
function set Buttons (value : ExceptionMessageBoxButtons)
Property Value
Type: Microsoft.SqlServer.MessageBox.ExceptionMessageBoxButtons
An ExceptionMessageBoxButtons value.
Remarks
By default, only OK is displayed.
When you use Custom, you must call SetButtonText to set the button text before calling Show.