共用方式為


FileSystemTask Members

Runs commands against the file system. This class cannot be inherited.

The following tables list the members exposed by the FileSystemTask type.

Public Constructors

  名稱 Description
FileSystemTask Initializes a new instance of the FileSystemTask class.

頂端

Public Properties

  名稱 Description
ms214899.pubproperty(zh-tw,SQL.90).gif Attributes Gets or sets the attributes to apply to the file or directory.
ms214899.pubproperty(zh-tw,SQL.90).gif DebugMode A Boolean indicating if a task should check if breakpoints are enabled.
ms214899.pubproperty(zh-tw,SQL.90).gif Destination Gets or sets the destination folder or file.
ms214899.pubproperty(zh-tw,SQL.90).gif ExecutionValue Overridden. Returns the number of successful operations performed by the task. This field is read-only.
ms214899.pubproperty(zh-tw,SQL.90).gif IsDestinationPathVariable Gets or sets a Boolean that indicates whether Destination information is located in a package variable.
ms214899.pubproperty(zh-tw,SQL.90).gif IsSourcePathVariable Gets or sets a Boolean that indicates whether Source information is located in a package variable.
ms214899.pubproperty(zh-tw,SQL.90).gif Operation Gets or sets a value from the DTSFileSystemOperation enumeration that determines the type of operation to perform.
ms214899.pubproperty(zh-tw,SQL.90).gif OperationName Gets or sets the name of the task.
ms214899.pubproperty(zh-tw,SQL.90).gif OverwriteDestinationFile Gets or sets a Boolean that indicates whether the task will overwrite destination files.
ms214899.pubproperty(zh-tw,SQL.90).gif 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.
ms214899.pubproperty(zh-tw,SQL.90).gif 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.
ms214899.pubproperty(zh-tw,SQL.90).gif Version  Returns the version of the task. This property is read-only. (inherited from Task)
ms214899.pubproperty(zh-tw,SQL.90).gif 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)

頂端

Public Methods

(see also Protected Methods )

  名稱 Description
ms214899.pubmethod(zh-tw,SQL.90).gif AcceptBreakpointManager Passes a BreakpointManager to the task. This method is called by the runtime and is not used in code.
ms214899.pubmethod(zh-tw,SQL.90).gif CanUpdate  (inherited from Task )
ms214899.pubmethod(zh-tw,SQL.90).gif Equals  Overloaded. (inherited from DtsObject )
ms214899.pubmethod(zh-tw,SQL.90).gif Execute Overridden. Runs the task.
ms214899.pubmethod(zh-tw,SQL.90).gif GetConnectionID  (inherited from Task )
ms214899.pubmethod(zh-tw,SQL.90).gif GetConnectionName  (inherited from Task )
ms214899.pubmethod(zh-tw,SQL.90).gif GetHashCode  Returns the hash code for this instance. (inherited from DtsObject)
ms214899.pubmethod(zh-tw,SQL.90).gif GetType  (inherited from Object )
ms214899.pubmethod(zh-tw,SQL.90).gif InitializeTask Overridden. Initializes the properties associated with the task. This method is called by the runtime and is not used in code.
ms214899.pubmethod(zh-tw,SQL.90).gif 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.
ms214899.pubmethod(zh-tw,SQL.90).gifms214899.static(zh-tw,SQL.90).gif op_Equality  (inherited from DtsObject )
ms214899.pubmethod(zh-tw,SQL.90).gifms214899.static(zh-tw,SQL.90).gif op_Inequality  (inherited from DtsObject )
ms214899.pubmethod(zh-tw,SQL.90).gifms214899.static(zh-tw,SQL.90).gif ReferenceEquals  (inherited from Object )
ms214899.pubmethod(zh-tw,SQL.90).gif ResumeExecution Resumes execution of the task after pausing. The task or container is resumed by the runtime engine.
ms214899.pubmethod(zh-tw,SQL.90).gif SaveToXML This method is not callable by your application code. To save a package as .xml, use the Application.SaveToXml method.
ms214899.pubmethod(zh-tw,SQL.90).gif SuspendExecution Indicates that the executable needs to suspend. This method is called by the runtime engine.
ms214899.pubmethod(zh-tw,SQL.90).gif ToString  (inherited from Object )
ms214899.pubmethod(zh-tw,SQL.90).gif Update  (inherited from Task )
ms214899.pubmethod(zh-tw,SQL.90).gif Validate Overridden. Verifies that the task is properly configured.

頂端

Protected Methods

  名稱 Description
ms214899.protmethod(zh-tw,SQL.90).gif Finalize  (inherited from Object )
ms214899.protmethod(zh-tw,SQL.90).gif MemberwiseClone  (inherited from Object )

頂端

請參閱

參考

FileSystemTask Class
Microsoft.SqlServer.Dts.Tasks.FileSystemTask Namespace