GetWorkingDirectory-Methode
Gets the current working directory on the File Transfer Protocol (FTP) server.
Namespace: Microsoft.SqlServer.Dts.Runtime
Assembly: Microsoft.SqlServer.ManagedDTS (in Microsoft.SqlServer.ManagedDTS.dll)
Syntax
'Declaration
Public Function GetWorkingDirectory As String
'Usage
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
Rückgabewert
Typ: System. . :: . .String
A String that contains the current working directory.
Beispiele
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()