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


TransSynchronizationAgent.WorkingDirectory Property

Gets or sets the working directory from which snapshot files are accessed when File Transfer Protocol (FTP) is used.

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

Syntax

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

value = instance.WorkingDirectory

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

Property Value

Type: System.String
A String value.

Implements

ITransSynchronizationAgent.WorkingDirectory

Remarks

The WorkingDirectory property is required when Ftp is specified for FileTransferType.

The WorkingDirectory property must resolve to a fully qualified path of the working directory for copied snapshots.