DataSource.AddConnection

Adds a new connection object of the passed in type for the passed in database. Returns a generic object for the connection. Intended for use from COM.

public sealed IConnectionFactory AddConnection(string databasename,
	ConnectionSource type);

Return Value

A reference to the new connection.

Parameters

databasename
The name of the database to add a new connection for.

type
The type of connection to create.

See also:

Class DataSource