ScriptComponentHost 类

此 API 支持 SQL Server 2012 基础结构,但不能通过代码直接使用。

Represents the host for the script component.

继承层次结构

System.Object
  Microsoft.SqlServer.Dts.Pipeline.PipelineComponent
    Microsoft.SqlServer.Dts.Pipeline.ScriptComponentHost

命名空间:  Microsoft.SqlServer.Dts.Pipeline
程序集:  Microsoft.SqlServer.TxScript(在 Microsoft.SqlServer.TxScript.dll 中)

语法

声明
Public Class ScriptComponentHost _
    Inherits PipelineComponent _
    Implements IVSTAScriptComponentUI
用法
Dim instance As ScriptComponentHost
public class ScriptComponentHost : PipelineComponent, 
    IVSTAScriptComponentUI
public ref class ScriptComponentHost : public PipelineComponent, 
    IVSTAScriptComponentUI
type ScriptComponentHost =  
    class 
        inherit PipelineComponent 
        interface IVSTAScriptComponentUI 
    end
public class ScriptComponentHost extends PipelineComponent implements IVSTAScriptComponentUI

ScriptComponentHost 类型公开以下成员。

构造函数

  名称 说明
公共方法 ScriptComponentHost 基础结构。Initializes a new instance of the ScriptComponentHost class.

页首

属性

  名称 说明
公共属性 BufferManager Gets the IDTSBufferManager100 of the pipeline component. (从 PipelineComponent 继承。)
公共属性 ComponentMetaData Gets the IDTSComponentMetaData100 for a component. (从 PipelineComponent 继承。)
公共属性 CurrentScriptingEngine 基础结构。Gets the current scripting engine.
公共属性 ErrorSupport Returns an ErrorSupport object that lets the component raise errors, warnings, or other information events based on HRESULTs returned by Integration Services components written in native code. (从 PipelineComponent 继承。)
公共属性 EventInfos Gets the IDTSEventInfos100 collection of the PipelineComponent object. (从 PipelineComponent 继承。)
公共属性 LogEntryInfos Gets an IDTSLogEntryInfos100 collection of logging events that the component has registered. (从 PipelineComponent 继承。)
公共属性 ProjectTemplatePath 基础结构。Gets the path of the current template.
公共属性 ReferenceTracker Gets the IDTSObjectReferenceTracker100 associated with the component. (从 PipelineComponent 继承。)
公共属性 VariableDispenser Gets the IDTSVariableDispenser100 of the data flow component. (从 PipelineComponent 继承。)

页首

方法

  名称 说明
公共方法 AcquireConnections 基础结构。Acquires connection for ScriptComponentHost. (覆盖 PipelineComponent.AcquireConnections(Object)。)
公共方法 AddErrorOutput Adds an IDTSOutput100 object and marks it as an error output by setting the IsErrorOut property to true. (从 PipelineComponent 继承。)
公共方法 Cleanup 基础结构。Performs a component host cleanup. (覆盖 PipelineComponent.Cleanup()。)
公共方法 CloseIDE 基础结构。Closes the IDE for the ScriptComponentHost.
公共方法 CreateNewProject 基础结构。Creates a new ScriptComponentHost project.
公共方法 DeleteExternalMetadataColumn Deletes the external metadata column at the specified index from the collection of external metadata columns. (从 PipelineComponent 继承。)
公共方法 DeleteInput Deletes an IDTSInput100 object from the IDTSInputCollection100 collection. (从 PipelineComponent 继承。)
公共方法 DeleteOutput Deletes an IDTSOutput100 object from the IDTSOutputCollection100 collection. (从 PipelineComponent 继承。)
公共方法 DeleteOutputColumn Deletes an IDTSOutputColumn100 object from the IDTSOutputColumnCollection100 collection. (从 PipelineComponent 继承。)
公共方法 DescribeRedirectedErrorCode Provides error code information for a PipelineBuffer row added to an output buffer. (从 PipelineComponent 继承。)
公共方法 Equals (从 Object 继承。)
受保护方法 Finalize (从 Object 继承。)
公共方法 GetBinaryCode 基础结构。Gets the collection of binary codes.
公共方法 GetDependentInputs Returns a collection of the input IDs of inputs that are waiting for more data, and thus are blocking the specified input. (从 PipelineComponent 继承。)
公共方法 GetErrorOutputInfo Returns the index and ID of the error output of the component. (从 PipelineComponent 继承。)
公共方法 GetHashCode (从 Object 继承。)
公共方法 GetType (从 Object 继承。)
公共方法 GetUniqueVSTAProjectName 基础结构。Gets the unique VSTA project name.
公共方法 Initialize When overridden in a derived class, initializes a new instance of a custom data flow component. (从 PipelineComponent 继承。)
公共方法 InsertExternalMetadataColumnAt Inserts a new external metadata column into the collection of external metadata columns at the specified index. (从 PipelineComponent 继承。)
公共方法 InsertInput 基础结构。Inserts input for the ScriptComponentHost. (覆盖 PipelineComponent.InsertInput(DTSInsertPlacement, Int32)。)
公共方法 InsertOutput 基础结构。Inserts a new output to the ScriptComponentHost. (覆盖 PipelineComponent.InsertOutput(DTSInsertPlacement, Int32)。)
公共方法 InsertOutputColumnAt 基础结构。Inserts an output at a specified column index. (覆盖 PipelineComponent.InsertOutputColumnAt(Int32, Int32, String, String)。)
公共方法 IsInputReady Determines which of the inputs attached to a component are waiting for more data, and which have enough data to process and are blocked. (从 PipelineComponent 继承。)
公共方法 LoadScriptFromComponent 基础结构。Loads script from component.
公共方法 MapInputColumn Establishes a relationship between an input column and a corresponding external metadata column. (从 PipelineComponent 继承。)
公共方法 MapOutputColumn Establishes a relationship between an output column and a corresponding external metadata column. (从 PipelineComponent 继承。)
受保护方法 MemberwiseClone (从 Object 继承。)
公共方法 OnDeletingInputColumn Deletes an IDTSInputColumn100 object from the IDTSInputColumnCollection100. (从 PipelineComponent 继承。)
公共方法 OnInputPathAttached Called when an IDTSInput100 object is connected to the component through the IDTSPath100 interface. (从 PipelineComponent 继承。)
公共方法 OnInputPathDetached Called when an IDTSInput100 object is disconnected from the component through the IDTSPath100 interface. (从 PipelineComponent 继承。)
公共方法 OnOutputPathAttached Called when an IDTSOutput100 object of the component is attached to a downstream component. (从 PipelineComponent 继承。)
公共方法 PerformUpgrade 基础结构。Performs a ScriptComponentHost upgrade. (覆盖 PipelineComponent.PerformUpgrade(Int32)。)
公共方法 PostExecute 基础结构。Specifies the ScriptComponentHost after execution. (覆盖 PipelineComponent.PostExecute()。)
公共方法 PreExecute 基础结构。Specifies the ScriptComponentHost before execution. (覆盖 PipelineComponent.PreExecute()。)
公共方法 PrepareForExecute 基础结构。Prepares the ScriptComponentHost before execution. (覆盖 PipelineComponent.PrepareForExecute()。)
公共方法 PrimeOutput 基础结构。Specifies the prime output for the ScriptComponentHost. (覆盖 PipelineComponent.PrimeOutput(Int32, array<Int32[], array<PipelineBuffer[])。)
公共方法 ProcessInput 基础结构。Processes the ScriptComponentHost input. (覆盖 PipelineComponent.ProcessInput(Int32, PipelineBuffer)。)
公共方法 ProvideComponentProperties 基础结构。Provides properties for the ScriptComponentHost. (覆盖 PipelineComponent.ProvideComponentProperties()。)
公共方法 PutBinaryCode 基础结构。Puts binary codes in the ScriptComponentHost.
公共方法 PutSourceCode 基础结构。Puts source code to the ScriptComponentHost.
公共方法 RegisterEvents When you are developing a custom data flow component, you override this method to create custom events. (从 PipelineComponent 继承。)
公共方法 RegisterLogEntries 基础结构。Registers log entries for the ScriptComponentHost. (覆盖 PipelineComponent.RegisterLogEntries()。)
公共方法 ReinitializeMetaData Repairs any errors identified during validation that cause the component to return VS_NEEDSNEWMETADATA at design time. (从 PipelineComponent 继承。)
公共方法 ReleaseConnections 基础结构。Releases connection for the host. (覆盖 PipelineComponent.ReleaseConnections()。)
公共方法 RemoveAllInputsOutputsAndCustomProperties Deletes each IDTSInput100 and IDTSOutput100 object from the component. (从 PipelineComponent 继承。)
公共方法 SaveScriptProject 基础结构。Saves the ScriptComponentHost script project.
公共方法 SetComponentProperty 基础结构。Sets the component property of the host. (覆盖 PipelineComponent.SetComponentProperty(String, Object)。)
公共方法 SetExternalMetadataColumnDataTypeProperties Sets the data type properties of the specified external metadata column. (从 PipelineComponent 继承。)
公共方法 SetExternalMetadataColumnProperty Sets an individual property of an external metadata column. (从 PipelineComponent 继承。)
公共方法 SetInputColumnProperty Assigns a value to the IDTSCustomProperty100 of an IDTSInputColumn100 object. (从 PipelineComponent 继承。)
公共方法 SetInputProperty Assigns a value to the IDTSCustomProperty100 of an IDTSInput100 object. (从 PipelineComponent 继承。)
公共方法 SetOutputColumnDataTypeProperties 基础结构。Sets the output column data type property for the component host. (覆盖 PipelineComponent.SetOutputColumnDataTypeProperties(Int32, Int32, DataType, Int32, Int32, Int32, Int32)。)
公共方法 SetOutputColumnProperty Sets the value of an IDTSCustomProperty100 for an IDTSOutputColumn100 object. (从 PipelineComponent 继承。)
公共方法 SetOutputProperty Sets the value of an IDTSCustomProperty100 on an IDTSOutput100 object. (从 PipelineComponent 继承。)
公共方法 SetUsageType Creates an IDTSInputColumn100 object in the IDTSInputColumnCollection100 of the component and sets the UsageType property of the column. (从 PipelineComponent 继承。)
公共方法 ShowIDE 基础结构。Shows the IDE for the Component host.
公共方法 ToString (从 Object 继承。)
公共方法 Validate 基础结构。Validates the component host. (覆盖 PipelineComponent.Validate()。)

页首

线程安全

此类型的任何公共 static(在 Visual Basic 中为 Shared) 成员都是线程安全的。不保证所有实例成员都是线程安全的。

请参阅

参考

Microsoft.SqlServer.Dts.Pipeline 命名空间