SqlStudioMessageBox.ShowConfirmation Method
Displays a confirmation for the message box.
Namespace: Microsoft.SqlServer.Management.Controls
Assembly: Microsoft.SqlServer.Management.Controls (in Microsoft.SqlServer.Management.Controls.dll)
Syntax
'Declaration
Public Shared Function ShowConfirmation ( _
text As String, _
caption As String _
) As ExceptionMessageBoxDialogResult
'Usage
Dim text As String
Dim caption As String
Dim returnValue As ExceptionMessageBoxDialogResult
returnValue = SqlStudioMessageBox.ShowConfirmation(text, _
caption)
public static ExceptionMessageBoxDialogResult ShowConfirmation(
string text,
string caption
)
public:
static ExceptionMessageBoxDialogResult ShowConfirmation(
String^ text,
String^ caption
)
static member ShowConfirmation :
text:string *
caption:string -> ExceptionMessageBoxDialogResult
public static function ShowConfirmation(
text : String,
caption : String
) : ExceptionMessageBoxDialogResult
Parameters
- text
Type: System.String
The text to display in the message box.
- caption
Type: System.String
The text to display in the title bar of the message box.
Return Value
Type: Microsoft.SqlServer.MessageBox.ExceptionMessageBoxDialogResult
One of the DialogResult values.