Metodo FtpClientConnection.GetWorkingDirectory

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
'Utilizzo
Dim instance As FtpClientConnection 
Dim returnValue As String 

returnValue = instance.GetWorkingDirectory()
public string GetWorkingDirectory()
public:
String^ GetWorkingDirectory()
member GetWorkingDirectory : unit -> string
public function GetWorkingDirectory() : String

Valore restituito

Tipo: System.String
A String that contains the current working directory.

Esempi

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()

Vedere anche

Riferimento

FtpClientConnection Classe

Spazio dei nomi Microsoft.SqlServer.Dts.Runtime