Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Runs commands against the file system. This class cannot be inherited.
The following tables list the members exposed by the FileSystemTask type.
Public Constructors
Name | Description | |
---|---|---|
FileSystemTask | Initializes a new instance of the FileSystemTask class. |
Top
Public Properties
Name | Description | |
---|---|---|
![]() |
Attributes | Gets or sets the attributes to apply to the file or directory. |
![]() |
DebugMode | A Boolean indicating if a task should check if breakpoints are enabled. |
![]() |
Destination | Gets or sets the destination folder or file. |
![]() |
ExecutionValue | Overridden. Returns the number of successful operations performed by the task. This field is read-only. |
![]() |
IsDestinationPathVariable | Gets or sets a Boolean that indicates whether Destination information is located in a package variable. |
![]() |
IsSourcePathVariable | Gets or sets a Boolean that indicates whether Source information is located in a package variable. |
![]() |
Operation | Gets or sets a value from the DTSFileSystemOperation enumeration that determines the type of operation to perform. |
![]() |
OperationName | Gets or sets the name of the task. |
![]() |
OverwriteDestinationFile | Gets or sets a Boolean that indicates whether the task will overwrite destination files. |
![]() |
Source | Gets or sets the source file or directory. If IsSourcePathVariable is set to true, gets or sets the package variable name representing the source file or directory. |
![]() |
SuspendRequired | Gets or sets a Boolean that indicates if tasks should suspend when they encounter a breakpoint. This value is set by the runtime engine for tasks and containers when a breakpoint is encountered. |
![]() |
Version | Returns the version of the task. This property is read-only. (inherited from Task) |
![]() |
WaitForMe | Returns a Boolean that indicates whether the parent container should wait for completion of this task. This property is read-only. (inherited from Task) |
Top
Public Methods
(see also Protected Methods )
Name | Description | |
---|---|---|
![]() |
AcceptBreakpointManager | Passes a BreakpointManager to the task. This method is called by the runtime and is not used in code. |
![]() |
CanUpdate | (inherited from Task ) |
![]() |
Equals | Overloaded. (inherited from DtsObject ) |
![]() |
Execute | Overridden. Runs the task. |
![]() |
GetConnectionID | (inherited from Task ) |
![]() |
GetConnectionName | (inherited from Task ) |
![]() |
GetHashCode | Returns the hash code for this instance. (inherited from DtsObject) |
![]() |
GetType | (inherited from Object ) |
![]() |
InitializeTask | Overridden. Initializes the properties associated with the task. This method is called by the runtime and is not used in code. |
![]() |
LoadFromXML | This method is not callable by your application code. To load a package that is saved as .xml to the hard drive, use the Application.LoadPackage method. |
![]() ![]() |
op_Equality | (inherited from DtsObject ) |
![]() ![]() |
op_Inequality | (inherited from DtsObject ) |
![]() ![]() |
ReferenceEquals | (inherited from Object ) |
![]() |
ResumeExecution | Resumes execution of the task after pausing. The task or container is resumed by the runtime engine. |
![]() |
SaveToXML | This method is not callable by your application code. To save a package as .xml, use the Application.SaveToXml method. |
![]() |
SuspendExecution | Indicates that the executable needs to suspend. This method is called by the runtime engine. |
![]() |
ToString | (inherited from Object ) |
![]() |
Update | (inherited from Task ) |
![]() |
Validate | Overridden. Verifies that the task is properly configured. |
Top
Protected Methods
Name | Description | |
---|---|---|
![]() |
Finalize | (inherited from Object ) |
![]() |
MemberwiseClone | (inherited from Object ) |
Top
See Also
Reference
FileSystemTask Class
Microsoft.SqlServer.Dts.Tasks.FileSystemTask Namespace