PackageID Property
The PackageID property specifies the globally unique Data Transformation Services (DTS) package identifier, which is a string representation of a globally unique identifier (GUID).
Applies To
ExecutePackageTask Object | PackageLineage Object |
Package Object | PackageLogRecord Object |
Package2 Object | SavedPackageInfo Object |
PackageInfo Object |
Syntax
[guidstring =] object.PackageID
Part | Description |
---|---|
object | Expression that evaluates to an object in the Applies To list |
guidstring | Package ID of the referenced package |
Data Type
String
Modifiable
Read-write for the ExecutePackageTask object. Read-only for the others.
Prototype (C/C++)
HRESULT GetPackageID(BSTR *pRetVal);
Remarks
For the ExecutePackageTask object, the PackageID does not need to be specified if sufficient other information is specified to identify the package. If the VersionID is not specified, the most recent version of the package is run.
To determine the package ID of a package, open the package in DTS Designer. In the DTS Package Properties dialog box, click the General tab.
The syntax of GUIDs is:
{XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX}
where X represents hexadecimal digits. The groupings are 8, 4, 4, 4, and 12 digits.