다음을 통해 공유


GetWorkingDirectory 메서드

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

네임스페이스:  Microsoft.SqlServer.Dts.Runtime
어셈블리:  Microsoft.SqlServer.ManagedDTS(Microsoft.SqlServer.ManagedDTS.dll)

구문

‘선언
Public Function GetWorkingDirectory As String
‘사용 방법
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

반환 값

유형: System. . :: . .String
A String that contains the current working directory.

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