共用方式為


TransSynchronizationAgent.DtsPackagePassword 屬性

Gets or sets the owner password that used to access the Microsoft SQL Server 2000 Data Transformation Services (DTS) package specified by the DtsPackageFileName property.

命名空間:  Microsoft.SqlServer.Replication
組件:  Microsoft.SqlServer.Replication (在 Microsoft.SqlServer.Replication.dll 中)

語法

'宣告
Public Overridable Property DtsPackagePassword As String 
    Get 
    Set
'用途
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)

屬性值

型別:System.String
The owner password that used to access the Microsoft SQL Server 2000 Data Transformation Services (DTS) package.

實作

ITransSynchronizationAgent.DtsPackagePassword

備註

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.

請參閱

參考

TransSynchronizationAgent 類別

Microsoft.SqlServer.Replication 命名空間