共用方式為


DeleteRemoteDirectory 方法

Deletes a remote directory.

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

語法

'宣告
Public Sub DeleteRemoteDirectory ( _
    remoteDirectoryPath As String _
)
'用途
Dim instance As FtpClientConnection
Dim remoteDirectoryPath As String

instance.DeleteRemoteDirectory(remoteDirectoryPath)
public void DeleteRemoteDirectory(
    string remoteDirectoryPath
)
public:
void DeleteRemoteDirectory(
    String^ remoteDirectoryPath
)
member DeleteRemoteDirectory : 
        remoteDirectoryPath:string -> unit 
public function DeleteRemoteDirectory(
    remoteDirectoryPath : String
)

參數

範例

The following code example shows the syntax to use when calling the DeleteRemoteDirectory method.

ftpClientConnection.DeleteRemoteDirectory(@"/myDir/mySubDir/");
ftpClientConnection. DeleteRemoteDirectory("/myDir/mySubDir/")