Поделиться через


Метод 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/")