The PackageID property specifies the globally unique Data Transformation Services (DTS) package identifier, which is a string representation of a globally unique identifier (GUID).
[guidstring =] object.PackageID
Part | Description |
---|---|
object | Expression that evaluates to an object in the Applies To list |
guidstring | Package ID of the referenced package |
String
Read-write for the ExecutePackageTask object. Read-only for the others.
HRESULT GetPackageID(BSTR *pRetVal);
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.