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