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) 成员都是线程安全的。不保证所有实例成员都是线程安全的。