The DTSPackagePassword property returns or sets the owner password used to access the DTS package specified by the DTSPackageFileName property.
object.DTSPackagePassword [= string]
Part | Description |
---|---|
object | Expression that evaluates to a SQLDistribution object. |
string | Password needed to access the specified DTS package. |
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.
String
Read/write
HRESULT DTSPackagePassword(BSTR pVal);
HRESULT DTSPackagePassword(BSTR* pVal);