DTS Programming

 DataFile Property

The DataFile property specifies the universal naming convention (UNC) path of the file from which to load the data.

Applies To
BulkInsertTask Object

Syntax

object.DataFile[= value]

Part Description
object Expression that evaluates to a BulkInsertTask object
value UNC path of the file

Data Type

String

Modifiable

Read/write

Prototype (C/C++)

HRESULT GetDataFile(BSTR *pRetVal);

HRESULT SetDataFile(BSTR NewValue);

Remarks

The UNC path is relative to the server on which the bulk insert command will run.

See Also

DataFileType Property

FormatFile Property