Auto select the specified instance from instances list after refresh.
Namespace: ZsZ_Studio.ControlsAssembly: SQL.Connection.Control (in SQL.Connection.Control.dll) Version: 1.0.4947.20663 (1.0.0.0)
public string AutoSelectInstanceName { get; set; }
public string AutoSelectInstanceName { get; set; }
Public Property AutoSelectInstanceName As String
Get
Set
Public Property AutoSelectInstanceName As String
Get
Set
public:
property String^ AutoSelectInstanceName {
String^ get ();
void set (String^ value);
}
public:
property String^ AutoSelectInstanceName {
String^ get ();
void set (String^ value);
}
Property Value
Type:
StringThe selection type can be set with
AutoSelectMethod property.
(VB.NET) This sample shows how to set the property.
Dim scc As New ZsZ_Studio.Controls.SQLConnectionControl
scc.Location = New Point(10, 10)
scc.AutoSelectMethod = ZsZ_Studio.Controls.SQLConnectionControl.SelectMethod.Forced
scc.AutoSelectInstanceName = "localhost\SQLEXPRESS"
Me.Controls.Add(scc)
Dim scc As New ZsZ_Studio.Controls.SQLConnectionControl
scc.Location = New Point(10, 10)
scc.AutoSelectMethod = ZsZ_Studio.Controls.SQLConnectionControl.SelectMethod.Forced
scc.AutoSelectInstanceName = "localhost\SQLEXPRESS"
Me.Controls.Add(scc)