共用方式為


SetWorkingDirectory 方法

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

命名空間:  Microsoft.SqlServer.Dts.Runtime
組件:  Microsoft.SqlServer.ManagedDTS (在 Microsoft.SqlServer.ManagedDTS.dll 中)

語法

'宣告
Public Sub SetWorkingDirectory ( _
    currentDirectory As String _
)
'用途
Dim instance As FtpClientConnection
Dim currentDirectory As String

instance.SetWorkingDirectory(currentDirectory)
public void SetWorkingDirectory(
    string currentDirectory
)
public:
void SetWorkingDirectory(
    String^ currentDirectory
)
member SetWorkingDirectory : 
        currentDirectory:string -> unit 
public function SetWorkingDirectory(
    currentDirectory : String
)

參數

  • currentDirectory
    型別:System. . :: . .String
    The path to the directory to be set as the current working directory.