Mimer SQL Data Provider help
GetDataSources Method




Mimer.Data.Client Namespace > MimerDataSourceEnumerator Class : GetDataSources Method
Return information about Mimer SQL databases.
Syntax
'Declaration
 
Public Overrides NotOverridable Function GetDataSources() As DataTable
public override DataTable GetDataSources()
public function GetDataSources(): DataTable; override; 
public override function GetDataSources() : DataTable;
public: DataTable* GetDataSources(); override 

Return Value

A System.Data.DataTable with server information.
Remarks
The DataTable returned contains the following information. When a value is not set the System.DBNull value is returned. All fields are of type System.String.
Column Name Description
Database The name of the Mimer SQL Database.
Node The name of the node where the database server is located.

For protocol local this value is System.DBNull.

Protocol The network protocol. Typical values are: local, tcp, NamedPipes, and rapi.

Local is used to communicate to a database server on the same machine.

Tcp is used to communicate with database servers in a network over TCP/IP.

NamedPipes can be used instead of tcp when both client and server are using Windows. More advanced security protection is needed in this case.

Rapi is used when the database server is on a PDA, Mobile device, or emulator. The protocol uses ActiveSync when communicating.

Service A schema collection with information about available data types.

For protocol local this value is System.DBNull.

For protocol tcp this is the TCP/IP port number.

For protocol NamedPipes this value is the name of the pipe. Typically the database is used.

ServerName This is the same as the database name. This field is maintained for compatibility with other ADO.NET providers.
InstanceName This is the same as the database name. This field is maintained for compatibility with other ADO.NET providers. In cases where a different database names are used on the client and the server, this is the database name used on the server.
Note that you should not depend on the order of the columns. Use column names to index the columns in the data table.
Requirements

.NET Framework
Version 2.0 or later

See Also

Reference

MimerDataSourceEnumerator Class
MimerDataSourceEnumerator Members