ExceptionMessageBox.Buttons Property

Definition

Gets or sets the buttons to display in the message box.

public:
 property Microsoft::SqlServer::MessageBox::ExceptionMessageBoxButtons Buttons { Microsoft::SqlServer::MessageBox::ExceptionMessageBoxButtons get(); void set(Microsoft::SqlServer::MessageBox::ExceptionMessageBoxButtons value); };
public Microsoft.SqlServer.MessageBox.ExceptionMessageBoxButtons Buttons { get; set; }
member this.Buttons : Microsoft.SqlServer.MessageBox.ExceptionMessageBoxButtons with get, set
Public Property Buttons As ExceptionMessageBoxButtons

Property Value

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.

Applies to