Поделиться через


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

  Имя Description
ScriptObjectModel  

В начало

Public Properties

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

В начало

Public Methods

(see also Protected Methods )

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

В начало

Protected Methods

  Имя Description
ms215054.protmethod(ru-ru,SQL.90).gif Finalize  (inherited from Object )
ms215054.protmethod(ru-ru,SQL.90).gif MemberwiseClone  (inherited from Object )

В начало

См. также

Справочник

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