Mimer SQL Data Provider help
Instance Field (MimerDataSourceEnumerator)

Mimer.Data.Client Namespace > MimerDataSourceEnumerator Class : Instance Field
The single MimerDataSourceEnumerator instance.
Public Shared ReadOnly Instance As MimerDataSourceEnumerator
public static readonly MimerDataSourceEnumerator Instance
public field Instance: MimerDataSourceEnumerator; static; readonly 
public static var Instance : MimerDataSourceEnumerator;
public: static readonly MimerDataSourceEnumerator* Instance
The following examples displays the available database names in a combo box.

No example is available for C++ or JScript. To view a C# example, click the Language Filter button in the upper-left corner of the page.

ComboBox cb;
MimerDataSourceEnumerator databaseEnumerator = MimerDataSourceEnumerator.Instance;
DataTable dt = databaseEnumerator.GetDataSources();
cb.DataSource = dt;
cb.DisplayMember = "Database";
cb.ValueMember = "Database";
Dim cb As ComboBox
Dim databaseEnumerator As MimerDataSourceEnumerator.Instance
Dim dt As DataTable = databaseEnumerator.GetDataSources
cb.DataSource = dt
cb.DisplayMember = "Database"
cb.ValueMember = "Database"

.NET Framework
Version 2.0 or later

See Also


MimerDataSourceEnumerator Class
MimerDataSourceEnumerator Members