CueBanner.SetCueBanner Method (ToolStripTextBox, String)
Defines the cue banner text for the specified ToolStripTextBox.
Namespace: Microsoft.SqlServer.Management.Controls
Assembly: Microsoft.SqlServer.Management.Controls (in Microsoft.SqlServer.Management.Controls.dll)
Syntax
'Declaration
Public Shared Sub SetCueBanner ( _
toolStripTextBox As ToolStripTextBox, _
text As String _
)
'Usage
Dim toolStripTextBox As ToolStripTextBox
Dim text As String
CueBanner.SetCueBanner(toolStripTextBox, _
text)
public static void SetCueBanner(
ToolStripTextBox toolStripTextBox,
string text
)
public:
static void SetCueBanner(
ToolStripTextBox^ toolStripTextBox,
String^ text
)
static member SetCueBanner :
toolStripTextBox:ToolStripTextBox *
text:string -> unit
public static function SetCueBanner(
toolStripTextBox : ToolStripTextBox,
text : String
)
Parameters
- toolStripTextBox
Type: System.Windows.Forms.ToolStripTextBox
The ToolStripTextBox component.
- text
Type: System.String
The cue banner text. To remove the cue banner, pass null.