Mimer SQL Data Provider help
Instance Field (MimerDataSourceEnumerator)
Example 




Mimer.Data.Client Namespace > MimerDataSourceEnumerator Class : Instance Field
The single MimerDataSourceEnumerator instance.
Syntax
'Declaration
 
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
Example
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"
Requirements

.NET Framework
Version 2.0 or later

See Also

Reference

MimerDataSourceEnumerator Class
MimerDataSourceEnumerator Members