The DataFile property specifies the universal naming convention (UNC) path of the file from which to load the data.
object.DataFile[= value]
Part | Description |
---|---|
object | Expression that evaluates to a BulkInsertTask object |
value | UNC path of the file |
String
Read/write
HRESULT GetDataFile(BSTR *pRetVal);
HRESULT SetDataFile(BSTR NewValue);
The UNC path is relative to the server on which the bulk insert command will run.