SQLConnectionControl AutoSelectInstanceName Property Control Documentation
Auto select the specified instance from instances list after refresh.

Namespace: ZsZ_Studio.Controls
Assembly: SQL.Connection.Control (in SQL.Connection.Control.dll) Version: 1.0.4947.20663 (1.0.0.0)
Syntax

public string AutoSelectInstanceName { get; set; }

Property Value

Type: OnlineString
Remarks

The selection type can be set with AutoSelectMethod property.
Examples

(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)
See Also