IUserPromptService.ShowMessage Method (String, String, MessageBoxButtons, MessageBoxIcon, MessageBoxDefaultButton, IWin32Window)
Applies To: SQL Server 2016 Preview
Namespace: Microsoft.DataWarehouse.Design
Assembly: Microsoft.DataWarehouse.Interfaces (in Microsoft.DataWarehouse.Interfaces.dll)
Syntax
DialogResult ShowMessage(
string message,
string caption,
MessageBoxButtons buttons,
MessageBoxIcon icon,
MessageBoxDefaultButton defaultButton,
IWin32Window parent
)
DialogResult ShowMessage(
String^ message,
String^ caption,
MessageBoxButtons buttons,
MessageBoxIcon icon,
MessageBoxDefaultButton defaultButton,
IWin32Window^ parent
)
abstract ShowMessage :
message:string *
caption:string *
buttons:MessageBoxButtons *
icon:MessageBoxIcon *
defaultButton:MessageBoxDefaultButton *
parent:IWin32Window -> DialogResult
Function ShowMessage (
message As String,
caption As String,
buttons As MessageBoxButtons,
icon As MessageBoxIcon,
defaultButton As MessageBoxDefaultButton,
parent As IWin32Window
) As DialogResult
Parameters
- message
Type: System.String
- caption
Type: System.String
- buttons
Type: System.Windows.Forms.MessageBoxButtons
- icon
Type: System.Windows.Forms.MessageBoxIcon
- defaultButton
Type: System.Windows.Forms.MessageBoxDefaultButton
- parent
Type: System.Windows.Forms.IWin32Window
Return Value
Type: System.Windows.Forms.DialogResult
See Also
ShowMessage Overload
IUserPromptService Interface
Microsoft.DataWarehouse.Design Namespace
Return to top