Поделиться через


DTSPackagePassword Property

В будущей версии Microsoft SQL Server эта возможность будет удалена. Избегайте использования этой возможности в новых разработках и запланируйте изменение существующих приложений, в которых она применяется.

The DTSPackagePassword property specifies a Data Transformation Services (DTS) package password.

Синтаксис

object
.DTSPackagePassword

Parts

  • object
    An expression that evaluates to an object in the Applies To list
  • value
    A string that specifies the password for a DTS package used during a replication operation

Data Type

String

Modifiable

Write-only

Prototype (C/C++)

HRESULT SetDTSPackagePassword(SQLDMO_LPCSTR NewValue);

Замечания

Set the DTSPackagePassword property after setting the DTSPackageName property. It is only necessary to set DTSPackagePassword if the DTS package is password protected.

ms141127.note(ru-ru,SQL.90).gifПримечание.
If an application calls DTSPackagePassword on an instance of Microsoft SQL Server version 7.0, the constant, SQLDMO_E_SQL80ONLY, and the message "This property or method requires Microsoft SQL Server 2000 or later" are returned.

Applies To:

TransPullSubscription2 Object

TransSubscription2 Object

См. также

Справочник

AllowDTS Property
DTSPackageLocation Property
DTSPackageName Property

Справка и поддержка

Получение помощи по SQL Server 2005