Класс 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().) |
В начало
Безопасность многопоточности
Любые открытые статический (Shared в Visual Basic) элементы этого типа потокобезопасны. Потокобезопасность с элементами экземпляров не гарантируется.