Compartir a través de


CreateRemoteDirectory Método

Creates a remote directory.

Espacio de nombres:  Microsoft.SqlServer.Dts.Runtime
Ensamblado:  Microsoft.SqlServer.ManagedDTS (en Microsoft.SqlServer.ManagedDTS.dll)

Sintaxis

'Declaración
Public Sub CreateRemoteDirectory ( _
    remoteDirectoryPath As String _
)
'Uso
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
)

Parámetros

  • remoteDirectoryPath
    Tipo: System. . :: . .String
    A string that contains the path where the remote directory is to be created.

Ejemplos

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

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