DataSource Property

DTS Programming

DTS Programming

DataSource Property

The DataSource property specifies a data source name appropriate to the OLE DB provider being used.

Applies To
Connection Object Connection2 Object
Syntax

object.DataSource [= value]

Part Description
object Expression that evaluates to an object in the Applies To list
value Data source name

Data Type

String

Modifiable

Read/write

Prototype (C/C++)

HRESULT GetDataSource(BSTR *pRetVal);

HRESULT SetDataSource(BSTR NewValue);

Remarks

The data source can be a Microsoft® SQL Server™ name, file name, or some other specification meaningful to the provider.

See Also

Catalog Property