共用方式為


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 命名空間