Condividi tramite


Metodo CreateRemoteDirectory

Creates a remote directory.

Spazio dei nomi  Microsoft.SqlServer.Dts.Runtime
Assembly:  Microsoft.SqlServer.ManagedDTS (in Microsoft.SqlServer.ManagedDTS.dll)

Sintassi

'Dichiarazione
Public Sub CreateRemoteDirectory ( _
    remoteDirectoryPath As String _
)
'Utilizzo
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
)

Parametri

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

Esempi

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

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