FtpTask クラス

定義

データ ファイルをダウンロードおよびアップロードしたり、サーバーのディレクトリを管理します。 このクラスは継承できません。

public ref class FtpTask sealed : Microsoft::SqlServer::Dts::Runtime::Task, Microsoft::SqlServer::Dts::Runtime::IDTSBreakpointSite, Microsoft::SqlServer::Dts::Runtime::IDTSComponentPersist, Microsoft::SqlServer::Dts::Tasks::FtpTask::IDTSFTPTask
[Microsoft.SqlServer.Dts.Runtime.DtsTask(HelpKeyword="sql13.dts.designer.ftptask.F1", LocalizationType=typeof(Microsoft.SqlServer.Dts.Tasks.FtpTask.Localized), SamplesTag="SsisFtpTask", TaskContact="FTP Task; Microsoft Corporation; SQL Server 2016; (c) Microsoft Corporation; All Rights Reserved;http://www.microsoft.com/sql/support/default.asp;1", TaskType="DTS90", UITypeName="Microsoft.SqlServer.Dts.Tasks.FtpTask.FTPTaskUI, Microsoft.SqlServer.FTPTaskUI, Version=13.0.0.0, Culture=Neutral, PublicKeyToken=89845dcd8080cc91")]
[System.Runtime.InteropServices.Guid("613C335B-A72A-4962-A221-510FF6EFE9B5")]
public sealed class FtpTask : Microsoft.SqlServer.Dts.Runtime.Task, Microsoft.SqlServer.Dts.Runtime.IDTSBreakpointSite, Microsoft.SqlServer.Dts.Runtime.IDTSComponentPersist, Microsoft.SqlServer.Dts.Tasks.FtpTask.IDTSFTPTask
[Microsoft.SqlServer.Dts.Runtime.DtsTask(HelpKeyword="sql13.dts.designer.ftptask.F1", LocalizationType=typeof(Microsoft.SqlServer.Dts.Tasks.FtpTask.Localized), SamplesTag="SsisFtpTask", TaskContact="FTP Task; Microsoft Corporation; SQL Server 2017; (c) Microsoft Corporation; All Rights Reserved;http://www.microsoft.com/sql/support/default.asp;1", TaskType="DTS90", UITypeName="Microsoft.SqlServer.Dts.Tasks.FtpTask.FTPTaskUI, Microsoft.SqlServer.FTPTaskUI, Version=14.0.0.0, Culture=Neutral, PublicKeyToken=89845dcd8080cc91")]
[System.Runtime.InteropServices.Guid("546237B3-0903-4728-B757-30757AF6E1A1")]
public sealed class FtpTask : Microsoft.SqlServer.Dts.Runtime.Task, Microsoft.SqlServer.Dts.Runtime.IDTSBreakpointSite, Microsoft.SqlServer.Dts.Runtime.IDTSComponentPersist, Microsoft.SqlServer.Dts.Tasks.FtpTask.IDTSFTPTask
[Microsoft.SqlServer.Dts.Runtime.DtsTask(HelpKeyword="sql13.dts.designer.ftptask.F1", LocalizationType=typeof(Microsoft.SqlServer.Dts.Tasks.FtpTask.Localized), SamplesTag="SsisFtpTask", TaskContact="FTP Task; Microsoft Corporation; SQL Server 2019; (c) Microsoft Corporation; All Rights Reserved;http://www.microsoft.com/sql/support/default.asp;1", TaskType="DTS90", UITypeName="Microsoft.SqlServer.Dts.Tasks.FtpTask.FTPTaskUI, Microsoft.SqlServer.FTPTaskUI, Version=15.0.0.0, Culture=Neutral, PublicKeyToken=89845dcd8080cc91")]
[System.Runtime.InteropServices.Guid("053C6358-D2FA-4D81-B0C3-3B25BB2680C4")]
public sealed class FtpTask : Microsoft.SqlServer.Dts.Runtime.Task, Microsoft.SqlServer.Dts.Runtime.IDTSBreakpointSite, Microsoft.SqlServer.Dts.Runtime.IDTSComponentPersist, Microsoft.SqlServer.Dts.Tasks.FtpTask.IDTSFTPTask
[<Microsoft.SqlServer.Dts.Runtime.DtsTask(HelpKeyword="sql13.dts.designer.ftptask.F1", LocalizationType=typeof(Microsoft.SqlServer.Dts.Tasks.FtpTask.Localized), SamplesTag="SsisFtpTask", TaskContact="FTP Task; Microsoft Corporation; SQL Server 2016; (c) Microsoft Corporation; All Rights Reserved;http://www.microsoft.com/sql/support/default.asp;1", TaskType="DTS90", UITypeName="Microsoft.SqlServer.Dts.Tasks.FtpTask.FTPTaskUI, Microsoft.SqlServer.FTPTaskUI, Version=13.0.0.0, Culture=Neutral, PublicKeyToken=89845dcd8080cc91")>]
[<System.Runtime.InteropServices.Guid("613C335B-A72A-4962-A221-510FF6EFE9B5")>]
type FtpTask = class
    inherit Task
    interface IDTSFTPTask
    interface IDTSComponentPersist
    interface IDTSBreakpointSite
    interface IDTSSuspend
[<Microsoft.SqlServer.Dts.Runtime.DtsTask(HelpKeyword="sql13.dts.designer.ftptask.F1", LocalizationType=typeof(Microsoft.SqlServer.Dts.Tasks.FtpTask.Localized), SamplesTag="SsisFtpTask", TaskContact="FTP Task; Microsoft Corporation; SQL Server 2017; (c) Microsoft Corporation; All Rights Reserved;http://www.microsoft.com/sql/support/default.asp;1", TaskType="DTS90", UITypeName="Microsoft.SqlServer.Dts.Tasks.FtpTask.FTPTaskUI, Microsoft.SqlServer.FTPTaskUI, Version=14.0.0.0, Culture=Neutral, PublicKeyToken=89845dcd8080cc91")>]
[<System.Runtime.InteropServices.Guid("546237B3-0903-4728-B757-30757AF6E1A1")>]
type FtpTask = class
    inherit Task
    interface IDTSFTPTask
    interface IDTSComponentPersist
    interface IDTSBreakpointSite
    interface IDTSSuspend
[<Microsoft.SqlServer.Dts.Runtime.DtsTask(HelpKeyword="sql13.dts.designer.ftptask.F1", LocalizationType=typeof(Microsoft.SqlServer.Dts.Tasks.FtpTask.Localized), SamplesTag="SsisFtpTask", TaskContact="FTP Task; Microsoft Corporation; SQL Server 2019; (c) Microsoft Corporation; All Rights Reserved;http://www.microsoft.com/sql/support/default.asp;1", TaskType="DTS90", UITypeName="Microsoft.SqlServer.Dts.Tasks.FtpTask.FTPTaskUI, Microsoft.SqlServer.FTPTaskUI, Version=15.0.0.0, Culture=Neutral, PublicKeyToken=89845dcd8080cc91")>]
[<System.Runtime.InteropServices.Guid("053C6358-D2FA-4D81-B0C3-3B25BB2680C4")>]
type FtpTask = class
    inherit Task
    interface IDTSFTPTask
    interface IDTSComponentPersist
    interface IDTSBreakpointSite
    interface IDTSSuspend
Public NotInheritable Class FtpTask
Inherits Task
Implements IDTSBreakpointSite, IDTSComponentPersist, IDTSFTPTask
継承
属性
実装

コンストラクター

FtpTask()

FtpTask クラスの新しいインスタンスを初期化します。

プロパティ

Connection

タスクで使用される FTP 接続マネージャーの接続名を取得します。値の設定も可能です。

DebugMode

ブレークポイントが有効であるかどうかをタスクで確認する必要があるかどうかを示します。

ExecutionValue

ユーザー定義のオブジェクトを返します。 このプロパティは読み取り専用です。

IsLocalPathVariable

ローカル パスが変数またはファイル接続マネージャーのどちらに格納されるのかを示します。

IsRemotePathVariable

リモート パスが変数に格納されるかどうかを示します。

IsTransferTypeASCII

リモート FTP サーバーとの間で転送されるファイルが ASCII モードで転送される必要があるかどうかを示します。

LocalPath

使用するローカル パスを取得します。値の設定も可能です。 ローカル パスは、ファイル接続マネージャーまたは変数名を参照できます。

Operation

実行する FTP 操作を示す値を DTSFTPOp 列挙から取得します。値の設定も可能です。

OperationName

ファイル転送プロトコル (FTP) タスクの一意の名前を取得します。値の設定も可能です。

OverwriteDestination

転送先のファイルを上書きできるかどうかを指定します。

RemotePath

使用するリモート パスを取得します。値の設定も可能です。

StopOnOperationFailure

FTP 操作が失敗した場合にファイル転送プロトコル (FTP) タスクを終了するかどうかを示します。

SuspendRequired

ブレークポイントが発生したときにタスクを中断する必要があるかどうかを示すブール型 (Boolean) の値を取得または設定します。 この値は、ブレークポイントに到達したときにタスクおよびコンテナーに対してランタイム エンジンで設定されます。

TargetServerVersion

データ ファイルをダウンロードおよびアップロードしたり、サーバーのディレクトリを管理します。 このクラスは継承できません。

(継承元 Task)
Version

*** このメンバーは非推奨です。「解説」を参照してください。 タスクのバージョンを返します。 このプロパティは読み取り専用です。

(継承元 Task)

メソッド

AcceptBreakpointManager(BreakpointManager)

タスクに BreakpointManager を渡します。 このメソッドはランタイムから呼び出されるメソッドであり、コードでは使用されません。

CanUpdate(String)

*** このメンバーは非推奨です。「解説」を参照してください。 新しいパッケージ XML が古いパッケージ XML を更新できるかどうかを示すブール値。

(継承元 Task)
Equals(Object)

2 つのオブジェクト インスタンスが等しいかどうかを判断します。

(継承元 DtsObject)
Execute(Connections, VariableDispenser, IDTSComponentEvents, IDTSLogging, Object)

タスクを実行します。

GetConnectionID(Connections, String)

接続の ID を含む文字列を取得します。

(継承元 Task)
GetConnectionName(Connections, String)

接続の名前を含む文字列を取得します。

(継承元 Task)
GetHashCode()

このインスタンスのハッシュ コードを返します。

(継承元 DtsObject)
InitializeTask(Connections, VariableDispenser, IDTSInfoEvents, IDTSLogging, EventInfos, LogEntryInfos, ObjectReferenceTracker)

タスクに関連付けられたプロパティを初期化します。 このメソッドはランタイムから呼び出されるメソッドであり、コードでは使用されません。

LoadFromXML(XmlElement, IDTSInfoEvents)

このメソッドをアプリケーション コードから呼び出すことはできません。 .xml としてハード ドライブに保存されているパッケージを読み込むには、LoadPackage(String, IDTSEvents) メソッドを使用します。

ResumeExecution()

一時停止したタスクの実行を再開します。 タスクまたはコンテナーは、ランタイム エンジンによって再開されます。

SaveToXML(XmlDocument, IDTSInfoEvents)

このメソッドをアプリケーション コードから呼び出すことはできません。 パッケージを .xml として保存するには、SaveToXml(String, Package, IDTSEvents) メソッドを使用します。

SuspendExecution()

実行可能ファイルを中断する必要があることを示します。 このメソッドはランタイム エンジンから呼び出されます。

Update(String)

*** このメンバーは非推奨です。「解説」を参照してください。 このメソッドは、true に設定されている場合 CanUpdate(String) 、新しいパッケージ XML で古いパッケージ XML を更新します。

(継承元 Task)
Validate(Connections, VariableDispenser, IDTSComponentEvents, IDTSLogging)

タスクが正しく構成されていることを確認します。

適用対象