Gets or sets the auto select method of instance and database list.
Namespace: ZsZ_Studio.ControlsAssembly: SQL.Connection.Control (in SQL.Connection.Control.dll) Version: 1.0.4947.20663 (1.0.0.0)
public SQLConnectionControl..::..SelectMethod AutoSelectMethod { get; set; }
public SQLConnectionControl..::..SelectMethod AutoSelectMethod { get; set; }
Public Property AutoSelectMethod As SQLConnectionControl..::..SelectMethod
Get
Set
Public Property AutoSelectMethod As SQLConnectionControl..::..SelectMethod
Get
Set
public:
property SQLConnectionControl..::..SelectMethod AutoSelectMethod {
SQLConnectionControl..::..SelectMethod get ();
void set (SQLConnectionControl..::..SelectMethod value);
}
public:
property SQLConnectionControl..::..SelectMethod AutoSelectMethod {
SQLConnectionControl..::..SelectMethod get ();
void set (SQLConnectionControl..::..SelectMethod value);
}
Property Value
Type:
SQLConnectionControl SelectMethodCheck the enum description for details.
(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)