CreateRemoteDirectory-Methode

Creates a remote directory.

Namespace:  Microsoft.SqlServer.Dts.Runtime
Assembly:  Microsoft.SqlServer.ManagedDTS (in Microsoft.SqlServer.ManagedDTS.dll)

Syntax

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

Parameter

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

Beispiele

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

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