DTSPackagePassword Property

Replication Programming

Replication Programming

DTSPackagePassword Property

The DTSPackagePassword property returns or sets the owner password used to access the DTS package specified by the DTSPackageFileName property.

Applies To

SQLDistribution Object

Syntax

object.DTSPackagePassword [= string]

Part Description
object Expression that evaluates to a SQLDistribution object.
string Password needed to access the specified DTS package.
Remarks

The DTS owner password must be provided for this property. The required access cannot be obtained with the user password.

This property returns the value to which the property was most recently set. It cannot be used to return the actual owner password of the DTS package specified by DTSPackageFileName, unless it was set to that value previously.

Data Type

String

Modifiable

Read/write

Prototype (C/C++)

HRESULT DTSPackagePassword(BSTR pVal);

HRESULT DTSPackagePassword(BSTR* pVal);

See Also

DTSPackageFileName Property