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