FtpClientConnection.GetWorkingDirectory Method
Gets the current working directory on the File Transfer Protocol (FTP) server.
Spazio dei nomi: Microsoft.SqlServer.Dts.Runtime
Assembly : Microsoft.SqlServer.ManagedDTS (in microsoft.sqlserver.manageddts.dll)
Sintassi
'Dichiarazione
Public Function GetWorkingDirectory As String
public string GetWorkingDirectory ()
public:
String^ GetWorkingDirectory ()
public String GetWorkingDirectory ()
public function GetWorkingDirectory () : String
Valore restituito
A String that contains the current working directory.
Esempio
The following code example shows how to call the GetWorkingDirectory method and store it in a String variable.
string directoryName = ftpClientConnection.GetWorkingDirectory();
Dim directoryName As String = ftpClientConnection.GetWorkingDirectory()
Thread Safety
Any public static (Shared in Microsoft Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Piattaforme
Piattaforme di sviluppo
Per un elenco delle piattaforme supportate, vedere Requisiti hardware e software per l'Installazione di SQL Server 2005.
Piattaforme di destinazione
Per un elenco delle piattaforme supportate, vedere Requisiti hardware e software per l'Installazione di SQL Server 2005.
Vedere anche
Riferimento
FtpClientConnection Class
FtpClientConnection Members
Microsoft.SqlServer.Dts.Runtime Namespace