共用方式為


ActiveXScriptTask Members

Enables migration for ActiveX scripts created in SQL Server 2000. The ActiveXScriptTask is not intended for future use. This class cannot be inherited.

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

Public Constructors

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

頂端

Public Fields

  名稱 Description
ms214654.pubfield(zh-tw,SQL.90).gif Variables Stores the Variables collection, which contains a collection of Variable objects.

頂端

Public Properties

  名稱 Description
ms214654.pubproperty(zh-tw,SQL.90).gif DebugMode A Boolean that indicates if a task should check if breakpoints are enabled.
ms214654.pubproperty(zh-tw,SQL.90).gif EntryMethod Stores the entry method for the corresponding scripting language.
ms214654.pubproperty(zh-tw,SQL.90).gif ExecutionValue Overridden. Returns a user-defined object. This field is read-only.
ms214654.pubproperty(zh-tw,SQL.90).gif ExecutionValueProperty Uses the ExecutionValueChoice to determine what the ExecutionValue will contain.
ms214654.pubproperty(zh-tw,SQL.90).gif ScriptingLanguage Gets or sets the name of the scripting language.
ms214654.pubproperty(zh-tw,SQL.90).gif ScriptText Gets or sets the script to run.
ms214654.pubproperty(zh-tw,SQL.90).gif SuspendRequired Gets or sets a Boolean that indicates whether tasks should suspend when they encounter a breakpoint.
ms214654.pubproperty(zh-tw,SQL.90).gif Version  Returns the version of the task. This property is read-only. (inherited from Task)
ms214654.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
ms214654.pubmethod(zh-tw,SQL.90).gif AcceptBreakpointManager Passes a BreakpointManager to a task. The task will use the breakpoint manager to create, remove, and check the status of breakpoints. This method is called by the runtime and is not used in code.
ms214654.pubmethod(zh-tw,SQL.90).gif CanUpdate  (inherited from Task )
ms214654.pubmethod(zh-tw,SQL.90).gif Equals  Overloaded. (inherited from DtsObject )
ms214654.pubmethod(zh-tw,SQL.90).gif Execute Overridden. Runs the task.
ms214654.pubmethod(zh-tw,SQL.90).gif GetConnectionID  (inherited from Task )
ms214654.pubmethod(zh-tw,SQL.90).gif GetConnectionName  (inherited from Task )
ms214654.pubmethod(zh-tw,SQL.90).gif GetHashCode  Returns the hash code for this instance. (inherited from DtsObject)
ms214654.pubmethod(zh-tw,SQL.90).gif GetType  (inherited from Object )
ms214654.pubmethod(zh-tw,SQL.90).gif InitializeTask  (inherited from Task )
ms214654.pubmethod(zh-tw,SQL.90).gif LoadFromXML This method is not callable by your application code. To load a package saved as .xml, use the Application.LoadPackage method.
ms214654.pubmethod(zh-tw,SQL.90).gifms214654.static(zh-tw,SQL.90).gif op_Equality  (inherited from DtsObject )
ms214654.pubmethod(zh-tw,SQL.90).gifms214654.static(zh-tw,SQL.90).gif op_Inequality  (inherited from DtsObject )
ms214654.pubmethod(zh-tw,SQL.90).gifms214654.static(zh-tw,SQL.90).gif ReferenceEquals  (inherited from Object )
ms214654.pubmethod(zh-tw,SQL.90).gif ResumeExecution Resumes execution of the task after pausing.
ms214654.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.
ms214654.pubmethod(zh-tw,SQL.90).gif SuspendExecution Indicates that the executable needs to suspend.
ms214654.pubmethod(zh-tw,SQL.90).gif ToString  (inherited from Object )
ms214654.pubmethod(zh-tw,SQL.90).gif Update  (inherited from Task )
ms214654.pubmethod(zh-tw,SQL.90).gif Validate Overridden. Verifies that the task is properly configured.

頂端

Protected Methods

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

頂端

請參閱

參考

ActiveXScriptTask Class
Microsoft.SqlServer.Dts.Tasks.ActiveXScriptTask Namespace