GetWorkingDirectory Método
Gets the current working directory on the File Transfer Protocol (FTP) server.
Espacio de nombres: Microsoft.SqlServer.Dts.Runtime
Ensamblado: Microsoft.SqlServer.ManagedDTS (en Microsoft.SqlServer.ManagedDTS.dll)
Sintaxis
'Declaración
Public Function GetWorkingDirectory As String
'Uso
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
Valor devuelto
Tipo: System. . :: . .String
A String that contains the current working directory.
Ejemplos
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()