Share via


SqlStudioMessageBox.Show Method (String)

Displays a message box with the specified text.

Namespace:  Microsoft.SqlServer.Management.Controls
Assembly:  Microsoft.SqlServer.Management.Controls (in Microsoft.SqlServer.Management.Controls.dll)

Syntax

'Declaration
Public Shared Function Show ( _
    text As String _
) As DialogResult
'Usage
Dim text As String
Dim returnValue As DialogResult

returnValue = SqlStudioMessageBox.Show(text)
public static DialogResult Show(
    string text
)
public:
static DialogResult Show(
    String^ text
)
static member Show : 
        text:string -> DialogResult 
public static function Show(
    text : String
) : DialogResult

Parameters

  • text
    Type: System.String
    The text to display in the message box.

Return Value

Type: System.Windows.Forms.DialogResult
One of the DialogResult values.