Partager via


Classe FTPClientConnection100Class

Cette API prend en charge l'infrastructure SQL Server 2012 et n'est pas destinée à être utilisée directement à partir de votre code.

Provides properties and methods for an FTP client task.

Hiérarchie d'héritage

System.Object
  Microsoft.SqlServer.Dts.Runtime.Wrapper.FTPClientConnection100Class

Espace de noms :  Microsoft.SqlServer.Dts.Runtime.Wrapper
Assembly :  Microsoft.SqlServer.DTSRuntimeWrap (en Microsoft.SqlServer.DTSRuntimeWrap.dll)

Syntaxe

'Déclaration
<GuidAttribute("33E956B6-E94D-442F-A649-F9841B0D1473")> _
<ClassInterfaceAttribute(ClassInterfaceType.None)> _
Public Class FTPClientConnection100Class _
    Implements IDTSFtpClientConnection100, FTPClientConnection100
'Utilisation
Dim instance As FTPClientConnection100Class
[GuidAttribute("33E956B6-E94D-442F-A649-F9841B0D1473")]
[ClassInterfaceAttribute(ClassInterfaceType.None)]
public class FTPClientConnection100Class : IDTSFtpClientConnection100, 
    FTPClientConnection100
[GuidAttribute(L"33E956B6-E94D-442F-A649-F9841B0D1473")]
[ClassInterfaceAttribute(ClassInterfaceType::None)]
public ref class FTPClientConnection100Class : IDTSFtpClientConnection100, 
    FTPClientConnection100
[<GuidAttribute("33E956B6-E94D-442F-A649-F9841B0D1473")>]
[<ClassInterfaceAttribute(ClassInterfaceType.None)>]
type FTPClientConnection100Class =  
    class 
        interface IDTSFtpClientConnection100 
        interface FTPClientConnection100 
    end
public class FTPClientConnection100Class implements IDTSFtpClientConnection100, FTPClientConnection100

Le type FTPClientConnection100Class expose les membres suivants.

Constructeurs

  Nom Description
Méthode publique FTPClientConnection100Class Infrastructure. Initializes a new instance of the FTPClientConnection100Class class.

Haut de la page

Propriétés

  Nom Description
Propriété publique ChunkSize Infrastructure. Gets or sets the amount of data in bytes for the data transfer.
Propriété publique Retries Infrastructure. Gets or sets the number of times the task attempts an operation.
Propriété publique ServerName Infrastructure. Gets or sets the name of the FTP server.
Propriété publique ServerPassword Infrastructure. Gets or sets the password for authentication.
Propriété publique ServerPort Infrastructure. Gets or sets the FTP server port.
Propriété publique ServerUserName Infrastructure. Gets or sets the logon alias of the user.
Propriété publique Timeout Infrastructure. Gets or sets a value that indicates how long to attempt the connection before timing out.
Propriété publique UsePassiveMode Infrastructure. Gets or sets a value that indicates whether the task sends and receives files in passive mode.

Haut de la page

Méthodes

  Nom Description
Méthode publique Close Closes connection to the FTP server.
Méthode publique Connect Infrastructure. Attempts to establish a connection to FTP server.
Méthode publique CreateRemoteDirectory Infrastructure. Creates the specified folder on the FTP server.
Méthode publique DeleteFiles Infrastructure. Deletes the list of files on the FTP server.
Méthode publique DeleteRemoteDirectory Infrastructure. Deletes the specified folder on the FTP server.
Méthode publique Equals (hérité de Object.)
Méthode protégée Finalize (hérité de Object.)
Méthode publique GetHashCode (hérité de Object.)
Méthode publique GetListing Infrastructure. Gets a listing of files on the current working directory.
Méthode publique GetType (hérité de Object.)
Méthode publique GetWorkingDirectory Infrastructure. Gets the current working directory.
Méthode protégée MemberwiseClone (hérité de Object.)
Méthode publique ReceiveFiles Infrastructure. Receives the files from the FTP server.
Méthode publique SendFiles Infrastructure. Sends the files from the local computer to the FTP server.
Méthode publique SetWorkingDirectory Infrastructure. Sets the current working directory to the specified path.
Méthode publique ToString (hérité de Object.)

Haut de la page

Sécurité des threads

Tous les membres publics static (Shared dans Visual Basic) de ce type sont thread-safe. Tous les membres de l'instance ne sont pas garantis comme étant thread-safe.

Voir aussi

Référence

Espace de noms Microsoft.SqlServer.Dts.Runtime.Wrapper