Compartilhar via


Método GetWorkingDirectory

Gets the current working directory on the File Transfer Protocol (FTP) server.

Namespace:  Microsoft.SqlServer.Dts.Runtime
Assembly:  Microsoft.SqlServer.ManagedDTS (em Microsoft.SqlServer.ManagedDTS.dll)

Sintaxe

'Declaração
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 de retorno

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

Exemplos

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