If property value is true, then the database list will be refresh automatically after server name changes.
Namespace: ZsZ_Studio.ControlsAssembly: SQL.Connection.Control (in SQL.Connection.Control.dll) Version: 1.0.4947.20663 (1.0.0.0)
public bool AutoRefreshDatabaseListOnServerChanged { get; set; }
public bool AutoRefreshDatabaseListOnServerChanged { get; set; }
Public Property AutoRefreshDatabaseListOnServerChanged As Boolean
Get
Set
Public Property AutoRefreshDatabaseListOnServerChanged As Boolean
Get
Set
public:
property bool AutoRefreshDatabaseListOnServerChanged {
bool get ();
void set (bool value);
}
public:
property bool AutoRefreshDatabaseListOnServerChanged {
bool get ();
void set (bool value);
}
Property Value
Type:
BooleanThe database list will be refresh only when the
SelectedIndexChanged event fires on the server list combobox.
(VB.NET) This sample shows how to setup auto refresh property.
Dim scc As New ZsZ_Studio.Controls.SQLConnectionControl
scc.Location = New Point(10, 10)
scc.AutoRefreshDatabaseListOnServerChanged = True
Me.Controls.Add(scc)
Dim scc As New ZsZ_Studio.Controls.SQLConnectionControl
scc.Location = New Point(10, 10)
scc.AutoRefreshDatabaseListOnServerChanged = True
Me.Controls.Add(scc)