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
Name | Description | |
---|---|---|
ScriptObjectModel |
Top
Public Properties
Name | 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. |
Top
Public Methods
(see also Protected Methods )
Name | 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 ) |
Top
Protected Methods
Name | Description | |
---|---|---|
Finalize | (inherited from Object ) | |
MemberwiseClone | (inherited from Object ) |
Top
See Also
Reference
ScriptObjectModel Class
Microsoft.SqlServer.Dts.Tasks.ScriptTask Namespace