ScriptObjectModel 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 following tables list the members exposed by the ScriptObjectModel type.

  Name Description
ms215054.pubproperty(en-US,SQL.90).gif Connections Returns the Connections collection of existing connections defined in the package that contains the Script task.
ms215054.pubproperty(en-US,SQL.90).gif Events Returns the IDTSComponentEvents collection of existing events defined in the package that contains the Script task.
ms215054.pubproperty(en-US,SQL.90).gif ExecutionValue Gets or sets a user-defined object that provides additional information about the results of task execution.
ms215054.pubproperty(en-US,SQL.90).gif Logging Returns the IDTSLogging object for the package.Obsolete.
ms215054.pubproperty(en-US,SQL.90).gif TaskResult Returns the DTSExecResult of the Script task, mapped to the corresponding member of the ScriptObjectModel.Results enumeration.
ms215054.pubproperty(en-US,SQL.90).gif Transaction Returns the transaction associated with the container of the Script task.
ms215054.pubproperty(en-US,SQL.90).gif VariableDispenser Returns the VariableDispenser that can be used within the Script task to work with existing variables.
ms215054.pubproperty(en-US,SQL.90).gif Variables Returns the Variables collection of existing variables defined in the package that contains the Script task.
Top

(see also Protected Methods )
  Name Description
ms215054.pubmethod(en-US,SQL.90).gif Equals  Overloaded. (inherited from Object )
ms215054.pubmethod(en-US,SQL.90).gif GetHashCode  (inherited from Object )
ms215054.pubmethod(en-US,SQL.90).gif GetType  (inherited from Object )
ms215054.pubmethod(en-US,SQL.90).gif Log Logs an entry to all enabled log providers.
ms215054.pubmethod(en-US,SQL.90).gif ms215054.static(en-US,SQL.90).gif ReferenceEquals  (inherited from Object )
ms215054.pubmethod(en-US,SQL.90).gif ToString  (inherited from Object )
Top

  Name Description
ms215054.protmethod(en-US,SQL.90).gif Finalize  (inherited from Object )
ms215054.protmethod(en-US,SQL.90).gif MemberwiseClone  (inherited from Object )
Top

Community Additions

ADD
Show: