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 | |
---|---|---|
Connections | Returns the Connections collection of existing connections defined in the package that contains the Script task. | |
Events | Returns the IDTSComponentEvents collection of existing events defined in the package that contains the Script task. | |
ExecutionValue | Gets or sets a user-defined object that provides additional information about the results of task execution. | |
Logging | Returns the IDTSLogging object for the package.Obsolete. | |
TaskResult | Returns the DTSExecResult of the Script task, mapped to the corresponding member of the ScriptObjectModel.Results enumeration. | |
Transaction | Returns the transaction associated with the container of the Script task. | |
VariableDispenser | Returns the VariableDispenser that can be used within the Script task to work with existing variables. | |
Variables | Returns the Variables collection of existing variables defined in the package that contains the Script task. |
В начало
Public Methods
(see also Protected Methods )
Имя | Description | |
---|---|---|
Equals | Overloaded. (inherited from Object ) | |
GetHashCode | (inherited from Object ) | |
GetType | (inherited from Object ) | |
Log | Logs an entry to all enabled log providers. | |
ReferenceEquals | (inherited from Object ) | |
ToString | (inherited from Object ) |
В начало
Protected Methods
Имя | Description | |
---|---|---|
Finalize | (inherited from Object ) | |
MemberwiseClone | (inherited from Object ) |
В начало
См. также
Справочник
ScriptObjectModel Class
Microsoft.SqlServer.Dts.Tasks.ScriptTask Namespace