ExceptionMessageBox.Buttons Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.