Partager via


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.

Public Constructors

  Nom Description
ScriptObjectModel  

Haut de la page

Public Properties

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

Haut de la page

Public Methods

(see also Protected Methods )

  Nom Description
ms215054.pubmethod(fr-fr,SQL.90).gif Equals  Overloaded. (inherited from Object )
ms215054.pubmethod(fr-fr,SQL.90).gif GetHashCode  (inherited from Object )
ms215054.pubmethod(fr-fr,SQL.90).gif GetType  (inherited from Object )
ms215054.pubmethod(fr-fr,SQL.90).gif Log Logs an entry to all enabled log providers.
ms215054.pubmethod(fr-fr,SQL.90).gifms215054.static(fr-fr,SQL.90).gif ReferenceEquals  (inherited from Object )
ms215054.pubmethod(fr-fr,SQL.90).gif ToString  (inherited from Object )

Haut de la page

Protected Methods

  Nom Description
ms215054.protmethod(fr-fr,SQL.90).gif Finalize  (inherited from Object )
ms215054.protmethod(fr-fr,SQL.90).gif MemberwiseClone  (inherited from Object )

Haut de la page

Voir aussi

Référence

ScriptObjectModel Class
Microsoft.SqlServer.Dts.Tasks.ScriptTask Namespace