ConnectionID Property

DTS Programming

DTS Programming

ConnectionID Property

The ConnectionID property specifies the ID of a Connection object you use when connecting to a database or another data source.

Applies To
BulkInsertTask Object ExecuteSQLTask2 Object
ExecuteSQLTask Object Lookup Object
Syntax

object.ConnectionID [= value]

Part Description
object Expression that evaluates to an object in the Applies To list
value ID of the Connection object you want to use

Data Type

Long

Modifiable

Read/write

Prototype (C/C++)

HRESULT GetConnectionID(LONG *pRetVal);

HRESULT SetConnectionID(LONG NewValue);

See Also

Connection2 Object