SQLConnectionControl BrowseForDatabaseMethod Property Control Documentation
Gets or sets the database search method. From Stored procedure (sp_databases) or from query (SELECT Name FROM master.dbo.sysdatabases)

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

public SQLConnectionControl..::..DbSelectMethod BrowseForDatabaseMethod { get; set; }

Property Value

Type: SQLConnectionControl DbSelectMethod
Remarks

The FromQuery choice is a little faster.
Examples

(VB.NET) This sample shows how to set the database search method.
Dim scc As New ZsZ_Studio.Controls.SQLConnectionControl
scc.Location = New Point(10, 10)

scc.BrowseForDatabaseMethod = ZsZ_Studio.Controls.SQLConnectionControl.DbSelectMethod.FromQuery

Me.Controls.Add(scc)
See Also