The PackageName property sets or returns the name of the Data Transformation Services (DTS) package.
[name =] object.PackageName
Part | Description |
---|---|
object | Expression that evaluates to an object in the Applies To list |
name | Package name |
String
Read/write for the ExecutePackageTask object. Read-only for the others.
HRESULT GetPackageName(BSTR *pRetVal);
For the ExecutePackageTask object, the PackageName property does not need to be set if either the PackageID or VersionID properties are specified or there is only one package in its containing file.
For the ExecutePackageTask object, this property also can be referenced through the Properties collection of the Task object with the following code:
Set taskprops = task.Properties
taskprops("PackageName") [= name]