Microsoft.SqlServer.FileSystemTask The namespace contains the classes and interfaces required to manage the file system with the File System task. Determines the attribute to set on the file or directory. The file or directory is ready for archiving. The file or directory is not visible. The file or directory has no other attributes set. This is valid only if used alone. The file or directory is read-only. The file or directory is an operating system file. Indicates the file-system operation to perform. The will copy a directory. Both and must be set. The will copy a file. Both and must be set. The will create a directory. must be set. The will delete a directory. must be set. The will delete the content of a directory. must be set. The will delete a file. must be set. The will move a directory. Both and must be set. The will move a file. Both and must be set. The will rename a file. Both and must be set. The will set the attributes of a file or directory. Both and must be set. Runs commands against the file system. This class cannot be inherited. Initializes a new instance of the class. Passes a to the task. This method is called by the runtime and is not used in code. The breakpoint manager specific to this task. Runs the task. A value from the enumeration. A collection of connections used by the task. A object for locking variables. An object that implements the interface. An object that implements the interface. The transaction object that the container is a part of. This value can be null. Initializes the properties associated with the task. This method is called by the runtime and is not used in code. A collection of connections used by the task. A object for locking variables. An object that implements the interface for raising events (errors, warnings, and so on) during persistence. An object that implements the interface. An . The collection used by the task. An object reference tracker. This method is not callable by your application code. To load a package that is saved as .xml to the hard drive, use the method. The node containing the information to be loaded. An object that implements the interface for raising events (errors, warnings, and so on) during persistence. Resumes execution of the task after pausing. The task or container is resumed by the runtime engine. This method is not callable by your application code. To save a package as .xml, use the method. The XML document to which to save the information. An object that implements the interface for raising events (errors, warnings, and so on) during persistence. Indicates that the executable needs to suspend. This method is called by the runtime engine. Verifies that the task is properly configured. A value from the enumeration. A collection of connections used by the task. A object for locking variables. An object that implements the interface. An object that implements the interface. Gets or sets the attributes to apply to the file or directory. The to apply to the file or directory. A Boolean indicating if a task should check if breakpoints are enabled. true if the task should check for enabled breakpoints; otherwise false. Gets or sets the destination folder or file. A String that contains the connection manager or variable that contains the destination folder or file information. Returns the number of successful operations performed by the task. This field is read-only. An Integer indicating the number of successful operations performed by the task. For files, it represents the number of files affected by the operation. If the operation affects only one directory, the number returned is 1. Gets or sets a Boolean that indicates whether information is located in a package variable. true if the information is found in a package variable; false if the destination is a FILE connection manager. Gets or sets a Boolean that indicates whether information is located in a package variable. true if the information is found in a package variable; false if the source is a FILE connection manager. Gets or sets a value from the enumeration that determines the type of operation to perform. A value from the enumeration indicating the type of operation to perform. Gets or sets the name of the task. The name of the operation. Gets or sets a Boolean that indicates whether the task will overwrite destination files. true if the task will overwrite destination files; false otherwise. Gets or sets the source file or directory. If is set to true, gets or sets the package variable name representing the source file or directory. A String that contains the connection manager or variable that contains the source folder or file information. 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. true if the task suspends when it encounters a breakpoint.