Megosztás a következőn keresztül:


TransSynchronizationAgent.DtsPackageFileName Property

Gets or sets the name and path of a Microsoft SQL Server 2000 Data Transformation Services (DTS) package that is used to transform command rowsets before they are applied to a Subscriber.

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

Syntax

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

value = instance.DtsPackageFileName

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

Property Value

Type: System.String
A String value.

Implements

ITransSynchronizationAgent.DtsPackageFileName

Remarks

This property is supported only 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.

If the DTS package is stored in SQL Server 2000, the value of this property is the package name. If the package is stored in a file, the property value is the file specification.