Bagikan melalui


Executable Class

Defines an abstract class that provides the methods that all objects that are run by the run-time engine are required to inherit and implement.

Inheritance Hierarchy

System.Object
  Microsoft.SqlServer.Dts.Runtime.DtsObject
    Microsoft.SqlServer.Dts.Runtime.Executable
      Microsoft.SqlServer.Dts.Runtime.DtsContainer

Namespace:  Microsoft.SqlServer.Dts.Runtime
Assembly:  Microsoft.SqlServer.ManagedDTS (in Microsoft.SqlServer.ManagedDTS.dll)

Syntax

'Declaration
Public MustInherit Class Executable _
    Inherits DtsObject
'Usage
Dim instance As Executable
public abstract class Executable : DtsObject
public ref class Executable abstract : public DtsObject
[<AbstractClassAttribute>]
type Executable =  
    class
        inherit DtsObject
    end
public abstract class Executable extends DtsObject

The Executable type exposes the following members.

Constructors

  Name Description
Protected method Executable Initializes a new instance of the Executable class.

Top

Methods

  Name Description
Public method Equals Determines whether two object instances are equal. (Inherited from DtsObject.)
Public method Execute Executes the executable.
Protected method Finalize (Inherited from Object.)
Public method GetHashCode Returns the hash code for this instance. (Inherited from DtsObject.)
Public method GetType (Inherited from Object.)
Protected method MemberwiseClone (Inherited from Object.)
Public method ToString (Inherited from Object.)
Public method Validate Verify that the executable will successfully execute by validating all its dependencies and other items before executing it. The component that implements this method is the component that is being validated.

Top

Fields

  Name Description
Protected field m_executable Infrastructure.

Top

Remarks

The Executable abstract base class is inherited by the abstract base class DtsContainer, which is then inherited by the abstract base class EventsProvider. The EventsProvider class is subsequently inherited by the following containers that are used often in code.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.