The FormatFile property specifies the name and path of a bulk copy data file to use for the load operation.
object.FormatFile [= value]
| Part | Description |
|---|---|
| object | Expression that evaluates to a BulkInsertTask object |
| value | Specification for the bulk copy data file |
String
Read/write
HRESULT GetFormatFile(BSTR *pRetVal);
HRESULT SetFormatFile(BSTR NewValue);
The format of the bulk copy data file must be acceptable to the bcp utility.