FTPClientConnection100Class 类

此 API 支持 SQL Server 2012 基础结构,但不能通过代码直接使用。

Provides properties and methods for an FTP client task.

继承层次结构

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

命名空间:  Microsoft.SqlServer.Dts.Runtime.Wrapper
程序集:  Microsoft.SqlServer.DTSRuntimeWrap(在 Microsoft.SqlServer.DTSRuntimeWrap.dll 中)

语法

声明
<GuidAttribute("33E956B6-E94D-442F-A649-F9841B0D1473")> _
<ClassInterfaceAttribute(ClassInterfaceType.None)> _
Public Class FTPClientConnection100Class _
    Implements IDTSFtpClientConnection100, FTPClientConnection100
用法
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

FTPClientConnection100Class 类型公开以下成员。

构造函数

  名称 说明
公共方法 FTPClientConnection100Class 基础结构。Initializes a new instance of the FTPClientConnection100Class class.

页首

属性

  名称 说明
公共属性 ChunkSize 基础结构。Gets or sets the amount of data in bytes for the data transfer.
公共属性 Retries 基础结构。Gets or sets the number of times the task attempts an operation.
公共属性 ServerName 基础结构。Gets or sets the name of the FTP server.
公共属性 ServerPassword 基础结构。Gets or sets the password for authentication.
公共属性 ServerPort 基础结构。Gets or sets the FTP server port.
公共属性 ServerUserName 基础结构。Gets or sets the logon alias of the user.
公共属性 Timeout 基础结构。Gets or sets a value that indicates how long to attempt the connection before timing out.
公共属性 UsePassiveMode 基础结构。Gets or sets a value that indicates whether the task sends and receives files in passive mode.

页首

方法

  名称 说明
公共方法 Close Closes connection to the FTP server.
公共方法 Connect 基础结构。Attempts to establish a connection to FTP server.
公共方法 CreateRemoteDirectory 基础结构。Creates the specified folder on the FTP server.
公共方法 DeleteFiles 基础结构。Deletes the list of files on the FTP server.
公共方法 DeleteRemoteDirectory 基础结构。Deletes the specified folder on the FTP server.
公共方法 Equals (从 Object 继承。)
受保护方法 Finalize (从 Object 继承。)
公共方法 GetHashCode (从 Object 继承。)
公共方法 GetListing 基础结构。Gets a listing of files on the current working directory.
公共方法 GetType (从 Object 继承。)
公共方法 GetWorkingDirectory 基础结构。Gets the current working directory.
受保护方法 MemberwiseClone (从 Object 继承。)
公共方法 ReceiveFiles 基础结构。Receives the files from the FTP server.
公共方法 SendFiles 基础结构。Sends the files from the local computer to the FTP server.
公共方法 SetWorkingDirectory 基础结构。Sets the current working directory to the specified path.
公共方法 ToString (从 Object 继承。)

页首

线程安全

此类型的任何公共 static(在 Visual Basic 中为 Shared) 成员都是线程安全的。不保证所有实例成员都是线程安全的。

请参阅

参考

Microsoft.SqlServer.Dts.Runtime.Wrapper 命名空间