Partilhar via


Propriedade WorkingDirectory

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 (em Microsoft.SqlServer.Replication.dll)

Sintaxe

'Declaração
Public Overridable Property WorkingDirectory As String
    Get
    Set
'Uso
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)

Valor da propriedade

Tipo: System. . :: . .String
A String value.

Implementa

ITransSynchronizationAgent. . :: . .WorkingDirectory

Comentários

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.