DataSource Class

This object represents a database DataSource which contains the connection details to connect to a database. The Provider and Connection can be used with native ADO.NET calls to connect to external databases.

This object is derived from the ContentObject class. All properties and methods from the ContentObject are supported for this object, plus the properties below.

Properties

PROPERTY NAME

DATA TYPE

DESCRIPTION

Provider

String

The Provider string of this connection.

Connection

String

The connection string for this SQL connection.

DBType

String

The optional type of database.

Methods