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) 成员都是线程安全的。不保证所有实例成员都是线程安全的。