ScriptComponent Members

Serves as the base class for the read-only UserComponent class generated by the Script component in the ComponentWrapper project item in a Script component project.

The following tables list the members exposed by the ScriptComponent type.

Public Constructors

  名称 Description
ScriptComponent Initializes a new instance of the ScriptComponent class.

顶部

Public Properties

  名称 Description
ms211415.pubproperty(zh-cn,SQL.90).gif ComponentMetaData Returns a reference to the component definition.
ms211415.pubproperty(zh-cn,SQL.90).gif ReadOnlyVariables Returns the collection of ReadOnlyVariables available to the component.
ms211415.pubproperty(zh-cn,SQL.90).gif ReadWriteVariables Returns the collection of ReadWriteVariables available to the component.
ms211415.pubproperty(zh-cn,SQL.90).gif VariableDispenser Returns an object that the data flow uses internally to work with variables.

顶部

Public Methods

(see also Protected Methods )

  名称 Description
ms211415.pubmethod(zh-cn,SQL.90).gif AcquireConnections Obtains a connection or connection information by using a connection manager.
ms211415.pubmethod(zh-cn,SQL.90).gif Equals  Overloaded. (inherited from Object )
ms211415.pubmethod(zh-cn,SQL.90).gif GetColumnIndexes  
ms211415.pubmethod(zh-cn,SQL.90).gif GetHashCode  (inherited from Object )
ms211415.pubmethod(zh-cn,SQL.90).gif GetType  (inherited from Object )
ms211415.pubmethod(zh-cn,SQL.90).gif Log Writes a log entry.
ms211415.pubmethod(zh-cn,SQL.90).gif PostExecute Executes custom code that must run after the Script component has processed its inputs and outputs.
ms211415.pubmethod(zh-cn,SQL.90).gif PreExecute Executes custom code that must run before the Script component has processed its inputs and outputs.
ms211415.pubmethod(zh-cn,SQL.90).gif PrimeOutput Prepares the outputs in Script components, such as sources and transformations with asynchronous outputs, that add new rows to the output buffers.
ms211415.pubmethod(zh-cn,SQL.90).gif ProcessInput Processes the inputs in Script components, such as transformations and destinations, that receive inputs from upstream components.
ms211415.pubmethod(zh-cn,SQL.90).gifms211415.static(zh-cn,SQL.90).gif ReferenceEquals  (inherited from Object )
ms211415.pubmethod(zh-cn,SQL.90).gif ReleaseConnections Releases a connection to a connection manager.
ms211415.pubmethod(zh-cn,SQL.90).gif SetBufferColumnIndexes  
ms211415.pubmethod(zh-cn,SQL.90).gif ToString  (inherited from Object )

顶部

Protected Methods

  名称 Description
ms211415.protmethod(zh-cn,SQL.90).gif Finalize  (inherited from Object )
ms211415.protmethod(zh-cn,SQL.90).gif MemberwiseClone  (inherited from Object )

顶部

请参阅

参考

ScriptComponent Class
Microsoft.SqlServer.Dts.Pipeline Namespace