FileSystemTask 클래스

정의

파일 시스템에 대해 명령을 실행합니다. 이 클래스는 상속될 수 없습니다.

public ref class FileSystemTask sealed : Microsoft::SqlServer::Dts::Runtime::Task, Microsoft::SqlServer::Dts::Runtime::IDTSBreakpointSite, Microsoft::SqlServer::Dts::Runtime::IDTSComponentPersist, Microsoft::SqlServer::Dts::Tasks::FileSystemTask::IDTSFileSystemTask
[Microsoft.SqlServer.Dts.Runtime.DtsTask(HelpKeyword="sql13.dts.designer.filesystemtask.F1", LocalizationType=typeof(Microsoft.SqlServer.Dts.Tasks.FileSystemTask.Localized), SamplesTag="SsisFileSystemTask", TaskContact="File System Task;Microsoft Corporation; SQL Server 2016; © 2015 Microsoft Corporation; All Rights Reserved;http://www.microsoft.com/sql/support/default.asp;1", TaskType="DTS90", UITypeName="Microsoft.SqlServer.Dts.Tasks.FileSystemTask.FileSystemTaskUI, Microsoft.SqlServer.FileSystemTaskUI, Version=13.0.0.0, Culture=Neutral, PublicKeyToken=89845dcd8080cc91")]
[System.Runtime.InteropServices.Guid("E5857CB6-FC91-45AD-8BB8-01E25D229BD6")]
public sealed class FileSystemTask : Microsoft.SqlServer.Dts.Runtime.Task, Microsoft.SqlServer.Dts.Runtime.IDTSBreakpointSite, Microsoft.SqlServer.Dts.Runtime.IDTSComponentPersist, Microsoft.SqlServer.Dts.Tasks.FileSystemTask.IDTSFileSystemTask
[Microsoft.SqlServer.Dts.Runtime.DtsTask(HelpKeyword="sql13.dts.designer.filesystemtask.F1", LocalizationType=typeof(Microsoft.SqlServer.Dts.Tasks.FileSystemTask.Localized), SamplesTag="SsisFileSystemTask", TaskContact="File System Task;Microsoft Corporation; SQL Server 2017; © 2017 Microsoft Corporation; All Rights Reserved;http://www.microsoft.com/sql/support/default.asp;1", TaskType="DTS90", UITypeName="Microsoft.SqlServer.Dts.Tasks.FileSystemTask.FileSystemTaskUI, Microsoft.SqlServer.FileSystemTaskUI, Version=14.0.0.0, Culture=Neutral, PublicKeyToken=89845dcd8080cc91")]
[System.Runtime.InteropServices.Guid("1D25A237-FC96-4421-ADDC-19BDD92E3139")]
public sealed class FileSystemTask : Microsoft.SqlServer.Dts.Runtime.Task, Microsoft.SqlServer.Dts.Runtime.IDTSBreakpointSite, Microsoft.SqlServer.Dts.Runtime.IDTSComponentPersist, Microsoft.SqlServer.Dts.Tasks.FileSystemTask.IDTSFileSystemTask
[Microsoft.SqlServer.Dts.Runtime.DtsTask(HelpKeyword="sql13.dts.designer.filesystemtask.F1", LocalizationType=typeof(Microsoft.SqlServer.Dts.Tasks.FileSystemTask.Localized), SamplesTag="SsisFileSystemTask", TaskContact="File System Task;Microsoft Corporation; SQL Server 2019; © 2019 Microsoft Corporation; All Rights Reserved;http://www.microsoft.com/sql/support/default.asp;1", TaskType="DTS90", UITypeName="Microsoft.SqlServer.Dts.Tasks.FileSystemTask.FileSystemTaskUI, Microsoft.SqlServer.FileSystemTaskUI, Version=15.0.0.0, Culture=Neutral, PublicKeyToken=89845dcd8080cc91")]
[System.Runtime.InteropServices.Guid("9CF4BF80-E243-4A4B-90F1-998A6DEE35EC")]
public sealed class FileSystemTask : Microsoft.SqlServer.Dts.Runtime.Task, Microsoft.SqlServer.Dts.Runtime.IDTSBreakpointSite, Microsoft.SqlServer.Dts.Runtime.IDTSComponentPersist, Microsoft.SqlServer.Dts.Tasks.FileSystemTask.IDTSFileSystemTask
[<Microsoft.SqlServer.Dts.Runtime.DtsTask(HelpKeyword="sql13.dts.designer.filesystemtask.F1", LocalizationType=typeof(Microsoft.SqlServer.Dts.Tasks.FileSystemTask.Localized), SamplesTag="SsisFileSystemTask", TaskContact="File System Task;Microsoft Corporation; SQL Server 2016; © 2015 Microsoft Corporation; All Rights Reserved;http://www.microsoft.com/sql/support/default.asp;1", TaskType="DTS90", UITypeName="Microsoft.SqlServer.Dts.Tasks.FileSystemTask.FileSystemTaskUI, Microsoft.SqlServer.FileSystemTaskUI, Version=13.0.0.0, Culture=Neutral, PublicKeyToken=89845dcd8080cc91")>]
[<System.Runtime.InteropServices.Guid("E5857CB6-FC91-45AD-8BB8-01E25D229BD6")>]
type FileSystemTask = class
    inherit Task
    interface IDTSFileSystemTask
    interface IDTSBreakpointSite
    interface IDTSSuspend
    interface IDTSComponentPersist
[<Microsoft.SqlServer.Dts.Runtime.DtsTask(HelpKeyword="sql13.dts.designer.filesystemtask.F1", LocalizationType=typeof(Microsoft.SqlServer.Dts.Tasks.FileSystemTask.Localized), SamplesTag="SsisFileSystemTask", TaskContact="File System Task;Microsoft Corporation; SQL Server 2017; © 2017 Microsoft Corporation; All Rights Reserved;http://www.microsoft.com/sql/support/default.asp;1", TaskType="DTS90", UITypeName="Microsoft.SqlServer.Dts.Tasks.FileSystemTask.FileSystemTaskUI, Microsoft.SqlServer.FileSystemTaskUI, Version=14.0.0.0, Culture=Neutral, PublicKeyToken=89845dcd8080cc91")>]
[<System.Runtime.InteropServices.Guid("1D25A237-FC96-4421-ADDC-19BDD92E3139")>]
type FileSystemTask = class
    inherit Task
    interface IDTSFileSystemTask
    interface IDTSBreakpointSite
    interface IDTSSuspend
    interface IDTSComponentPersist
[<Microsoft.SqlServer.Dts.Runtime.DtsTask(HelpKeyword="sql13.dts.designer.filesystemtask.F1", LocalizationType=typeof(Microsoft.SqlServer.Dts.Tasks.FileSystemTask.Localized), SamplesTag="SsisFileSystemTask", TaskContact="File System Task;Microsoft Corporation; SQL Server 2019; © 2019 Microsoft Corporation; All Rights Reserved;http://www.microsoft.com/sql/support/default.asp;1", TaskType="DTS90", UITypeName="Microsoft.SqlServer.Dts.Tasks.FileSystemTask.FileSystemTaskUI, Microsoft.SqlServer.FileSystemTaskUI, Version=15.0.0.0, Culture=Neutral, PublicKeyToken=89845dcd8080cc91")>]
[<System.Runtime.InteropServices.Guid("9CF4BF80-E243-4A4B-90F1-998A6DEE35EC")>]
type FileSystemTask = class
    inherit Task
    interface IDTSFileSystemTask
    interface IDTSBreakpointSite
    interface IDTSSuspend
    interface IDTSComponentPersist
Public NotInheritable Class FileSystemTask
Inherits Task
Implements IDTSBreakpointSite, IDTSComponentPersist, IDTSFileSystemTask
상속
FileSystemTask
특성
구현

설명

이 작업으로 실행할 수 있는 작업에 대한 자세한 내용은 다음을 참조하세요 DTSFileSystemOperation.

생성자

FileSystemTask()

FileSystemTask 클래스의 새 인스턴스를 초기화합니다.

속성

Attributes

파일 또는 디렉터리에 적용할 특성을 가져오거나 설정합니다.

DebugMode

작업에서 중단점이 사용되는지 확인해야 하는지 여부를 나타내는 부울입니다.

Destination

대상 폴더 또는 파일을 가져오거나 설정합니다.

ExecutionValue

태스크에서 수행한 성공적인 작업 수를 반환합니다. 이 필드는 읽기 전용입니다.

IsDestinationPathVariable

정보가 패키지 변수에 있는지 여부를 Destination 나타내는 부울을 가져오거나 설정합니다.

IsSourcePathVariable

정보가 패키지 변수에 있는지 여부를 Source 나타내는 부울을 가져오거나 설정합니다.

Operation

수행할 작업 유형을 결정하는 DTSFileSystemOperation 열거형의 값을 가져오거나 설정합니다.

OperationName

태스크 이름을 가져오거나 설정합니다.

OverwriteDestinationFile

태스크가 대상 파일을 덮어쓸지 여부를 나타내는 부울을 가져오거나 설정합니다.

PreservedAttributes

DTS(데이터 변환 서비스)에 유지되는 특성을 가져오거나 설정합니다.

Source

원본 파일 또는 디렉터리를 가져오거나 설정합니다. true로 설정된 경우 IsSourcePathVariable 원본 파일 또는 디렉터리를 나타내는 패키지 변수 이름을 가져오거나 설정합니다.

SuspendRequired

중단점이 발생할 때 작업을 일시 중단해야 하는지 여부를 나타내는 부울 값을 가져오거나 설정합니다. 이 값은 중단점에 도달할 때 태스크 및 컨테이너의 런타임 엔진에서 설정됩니다.

TargetServerVersion

파일 시스템에 대해 명령을 실행합니다. 이 클래스는 상속될 수 없습니다.

(다음에서 상속됨 Task)
Version

멤버는 더 이상 사용되지 않습니다. 은 비고를 참조하세요. *** 태스크 버전을 반환합니다. 이 속성은 읽기 전용입니다.

(다음에서 상속됨 Task)

메서드

AcceptBreakpointManager(BreakpointManager)

BreakpointManager를 태스크에 전달합니다. 이 메서드는 런타임을 통해 호출되며 코드에 사용되지 않습니다.

CanUpdate(String)

멤버는 더 이상 사용되지 않습니다. 은 비고를 참조하세요. 새 패키지 XML이 이전 패키지 XML을 업데이트할 수 있는지 여부를 나타내는 부울입니다.

(다음에서 상속됨 Task)
Equals(Object)

두 개체 인스턴스가 같은지 확인합니다.

(다음에서 상속됨 DtsObject)
Execute(Connections, VariableDispenser, IDTSComponentEvents, IDTSLogging, Object)

작업을 실행합니다.

GetConnectionID(Connections, String)

연결 ID를 포함하는 String을 가져옵니다.

(다음에서 상속됨 Task)
GetConnectionName(Connections, String)

연결 이름을 포함하는 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)

태스크가 제대로 구성되었는지 확인합니다.

적용 대상