DTS Programming
SourceLocation Property
The SourceLocation property sets or returns the source location type, an Internet site, or a network directory to be used by a DTSFTPTask object.
Applies To
DTSFTPTask Object |
Syntax
object.SourceLocation [= value]
Part | Description |
---|---|
object | Expression that evaluates to a DTSFTPTask object |
value | Code that defines the source location type |
Data Type
Long
Modifiable
Read/write
Prototype (C/C++)
HRESULT SourceLocation(long* pVal);
HRESULT SourceLocation(long pVal);
Remarks
The valid values for this property are defined by the DTSFTPSourceLocation enumeration in the DTSCustTasks library (CustTask.dll).
The property also can be referenced through the Properties collection of the Task object with the following code:
Set taskprops = task.Properties
taskprops("SourceLocation") [= list]