Gets or sets the database search method.
From Stored procedure (sp_databases) or from query (SELECT Name FROM master.dbo.sysdatabases)
Namespace: ZsZ_Studio.ControlsAssembly: SQL.Connection.Control (in SQL.Connection.Control.dll) Version: 1.0.4947.20663 (1.0.0.0)
public SQLConnectionControl..::..DbSelectMethod BrowseForDatabaseMethod { get; set; }
public SQLConnectionControl..::..DbSelectMethod BrowseForDatabaseMethod { get; set; }
Public Property BrowseForDatabaseMethod As SQLConnectionControl..::..DbSelectMethod
Get
Set
Public Property BrowseForDatabaseMethod As SQLConnectionControl..::..DbSelectMethod
Get
Set
public:
property SQLConnectionControl..::..DbSelectMethod BrowseForDatabaseMethod {
SQLConnectionControl..::..DbSelectMethod get ();
void set (SQLConnectionControl..::..DbSelectMethod value);
}
public:
property SQLConnectionControl..::..DbSelectMethod BrowseForDatabaseMethod {
SQLConnectionControl..::..DbSelectMethod get ();
void set (SQLConnectionControl..::..DbSelectMethod value);
}
Property Value
Type:
SQLConnectionControl DbSelectMethodThe
FromQuery choice is a little faster.
(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)
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)