DTS Programming
DestSite Property
The DestSite property sets or returns the destination directory to which the transferred files will be moved by a file transfer protocol (FTP) task.
Applies To
| DTSFTPTask |
Syntax
object.DestSite [= value]
| Part | Description |
|---|---|
| object | Expression that evaluates to a DTSFTPTask object |
| value | Destination directory to which the transferred files will be moved |
Data Type
String
Modifiable
Read/write
Prototype (C/C++)
HRESULT GetDestSite(BSTR* pVal);
HRESULT SetDestSite(BSTR pVal);
Remarks
The property also can be referenced through the Properties collection of the Task object with the following code:
Set taskprops = task.Properties
taskprops("DestSite") [= value]