Freigeben über


DtsPackagePassword-Eigenschaft

Ruft das Besitzerkennwort ab, das verwendet wird, um auf das von der DtsPackageFileName-Eigenschaft angegebene Microsoft SQL Server 2000-DTS-Paket (Data Transformation Services) Paket zuzugreifen, oder legt dieses fest.

Namespace:  Microsoft.SqlServer.Replication
Assembly:  Microsoft.SqlServer.Replication (in Microsoft.SqlServer.Replication.dll)

Syntax

'Declaration
Public Overridable Property DtsPackagePassword As String
    Get
    Set
'Usage
Dim instance As TransSynchronizationAgent
Dim value As String

value = instance.DtsPackagePassword

instance.DtsPackagePassword = value
public virtual string DtsPackagePassword { get; set; }
public:
virtual property String^ DtsPackagePassword {
    String^ get ();
    void set (String^ value);
}
abstract DtsPackagePassword : string with get, set
override DtsPackagePassword : string with get, set
function get DtsPackagePassword () : String
function set DtsPackagePassword (value : String)

Eigenschaftswert

Typ: System. . :: . .String
Ein String-Wert.

Implementiert

ITransSynchronizationAgent. . :: . .DtsPackagePassword

Hinweise

This property is only supported for packages that are created in SQL Server 2000 and requires that the SQL Server 2000 DTS runtime be installed. For more information, see Transforming Published Data.

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

This property does not return the actual owner password of the DTS package specified by DtsPackageFileName, and only returns the value set on the current instance of TransSynchronizationAgent.