CreateRemoteDirectory 方法
Creates a remote directory.
命名空間: Microsoft.SqlServer.Dts.Runtime
組件: Microsoft.SqlServer.ManagedDTS (在 Microsoft.SqlServer.ManagedDTS.dll 中)
語法
'宣告
Public Sub CreateRemoteDirectory ( _
remoteDirectoryPath As String _
)
'用途
Dim instance As FtpClientConnection
Dim remoteDirectoryPath As String
instance.CreateRemoteDirectory(remoteDirectoryPath)
public void CreateRemoteDirectory(
string remoteDirectoryPath
)
public:
void CreateRemoteDirectory(
String^ remoteDirectoryPath
)
member CreateRemoteDirectory :
remoteDirectoryPath:string -> unit
public function CreateRemoteDirectory(
remoteDirectoryPath : String
)
參數
- remoteDirectoryPath
型別:System. . :: . .String
A string that contains the path where the remote directory is to be created.
範例
The following code example shows the syntax to use when calling the CreateRemoteDirectory method.
ftpClientConnection.CreateRemoteDirectory(@"/myDir/mySubDir/");
ftpClientConnection.CreateRemoteDirectory("/myDir/mySubDir/")