Dela via


ScriptObjectModel Members

Include Protected Members
Include Inherited Members

Gives the developer of the Script task programmatic access to objects defined in the package through the global Dts object. The Dts object is an instance of the ScriptObjectModel class.

The ScriptObjectModel type exposes the following members.

Methods

  Name Description
Public method Equals(Object) (Inherited from Object.)
Protected method Finalize() (Inherited from Object.)
Public method GetHashCode() (Inherited from Object.)
Public method GetType() (Inherited from Object.)
Public method Log(String, Int32, array<Byte[]) Logs an entry to all enabled log providers.
Protected method MemberwiseClone() (Inherited from Object.)
Public method ToString() (Inherited from Object.)

Top

Properties

  Name Description
Public property Connections Returns the Connections collection of existing connections defined in the package that contains the Script task.
Public property Events Returns the IDTSComponentEvents collection of existing events defined in the package that contains the Script task.
Public property ExecutionValue Gets or sets a user-defined object that provides additional information about the results of task execution.
Public property TaskResult Returns the DTSExecResult of the Script task.
Public property Transaction Returns the transaction associated with the container of the Script task.
Public property VariableDispenser Returns the VariableDispenser that can be used within the Script task to work with existing variables.
Public property Variables Returns the Variables collection of existing variables defined in the package that contains the Script task.

Top