IUserPromptService.ShowMessage Method (String, String, MessageBoxButtons, MessageBoxIcon, MessageBoxDefaultButton)
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
)
DialogResult ShowMessage(
String^ message,
String^ caption,
MessageBoxButtons buttons,
MessageBoxIcon icon,
MessageBoxDefaultButton defaultButton
)
abstract ShowMessage :
message:string *
caption:string *
buttons:MessageBoxButtons *
icon:MessageBoxIcon *
defaultButton:MessageBoxDefaultButton -> DialogResult
Function ShowMessage (
message As String,
caption As String,
buttons As MessageBoxButtons,
icon As MessageBoxIcon,
defaultButton As MessageBoxDefaultButton
) 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
Return Value
Type: System.Windows.Forms.DialogResult
See Also
ShowMessage Overload
IUserPromptService Interface
Microsoft.DataWarehouse.Design Namespace
Return to top