Classe ScriptComponentHost
Cette API prend en charge l'infrastructure SQL Server 2012 et n'est pas destinée à être utilisée directement à partir de votre code.
Represents the host for the script component.
Hiérarchie d'héritage
System.Object
Microsoft.SqlServer.Dts.Pipeline.PipelineComponent
Microsoft.SqlServer.Dts.Pipeline.ScriptComponentHost
Espace de noms : Microsoft.SqlServer.Dts.Pipeline
Assembly : Microsoft.SqlServer.TxScript (en Microsoft.SqlServer.TxScript.dll)
Syntaxe
'Déclaration
Public Class ScriptComponentHost _
Inherits PipelineComponent _
Implements IVSTAScriptComponentUI
'Utilisation
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
Le type ScriptComponentHost expose les membres suivants.
Constructeurs
Nom | Description | |
---|---|---|
ScriptComponentHost | Infrastructure. Initializes a new instance of the ScriptComponentHost class. |
Haut de la page
Propriétés
Nom | Description | |
---|---|---|
BufferManager | Gets the IDTSBufferManager100 of the pipeline component. (hérité de PipelineComponent.) | |
ComponentMetaData | Gets the IDTSComponentMetaData100 for a component. (hérité de PipelineComponent.) | |
CurrentScriptingEngine | Infrastructure. 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. (hérité de PipelineComponent.) | |
EventInfos | Gets the IDTSEventInfos100 collection of the PipelineComponent object. (hérité de PipelineComponent.) | |
LogEntryInfos | Gets an IDTSLogEntryInfos100 collection of logging events that the component has registered. (hérité de PipelineComponent.) | |
ProjectTemplatePath | Infrastructure. Gets the path of the current template. | |
ReferenceTracker | Gets the IDTSObjectReferenceTracker100 associated with the component. (hérité de PipelineComponent.) | |
VariableDispenser | Gets the IDTSVariableDispenser100 of the data flow component. (hérité de PipelineComponent.) |
Haut de la page
Méthodes
Nom | Description | |
---|---|---|
AcquireConnections | Infrastructure. Acquires connection for ScriptComponentHost. (remplace PipelineComponent.AcquireConnections(Object).) | |
AddErrorOutput | Adds an IDTSOutput100 object and marks it as an error output by setting the IsErrorOut property to true. (hérité de PipelineComponent.) | |
Cleanup | Infrastructure. Performs a component host cleanup. (remplace PipelineComponent.Cleanup().) | |
CloseIDE | Infrastructure. Closes the IDE for the ScriptComponentHost. | |
CreateNewProject | Infrastructure. Creates a new ScriptComponentHost project. | |
DeleteExternalMetadataColumn | Deletes the external metadata column at the specified index from the collection of external metadata columns. (hérité de PipelineComponent.) | |
DeleteInput | Deletes an IDTSInput100 object from the IDTSInputCollection100 collection. (hérité de PipelineComponent.) | |
DeleteOutput | Deletes an IDTSOutput100 object from the IDTSOutputCollection100 collection. (hérité de PipelineComponent.) | |
DeleteOutputColumn | Deletes an IDTSOutputColumn100 object from the IDTSOutputColumnCollection100 collection. (hérité de PipelineComponent.) | |
DescribeRedirectedErrorCode | Provides error code information for a PipelineBuffer row added to an output buffer. (hérité de PipelineComponent.) | |
Equals | (hérité de Object.) | |
Finalize | (hérité de Object.) | |
GetBinaryCode | Infrastructure. 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. (hérité de PipelineComponent.) | |
GetErrorOutputInfo | Returns the index and ID of the error output of the component. (hérité de PipelineComponent.) | |
GetHashCode | (hérité de Object.) | |
GetType | (hérité de Object.) | |
GetUniqueVSTAProjectName | Infrastructure. Gets the unique VSTA project name. | |
Initialize | When overridden in a derived class, initializes a new instance of a custom data flow component. (hérité de PipelineComponent.) | |
InsertExternalMetadataColumnAt | Inserts a new external metadata column into the collection of external metadata columns at the specified index. (hérité de PipelineComponent.) | |
InsertInput | Infrastructure. Inserts input for the ScriptComponentHost. (remplace PipelineComponent.InsertInput(DTSInsertPlacement, Int32).) | |
InsertOutput | Infrastructure. Inserts a new output to the ScriptComponentHost. (remplace PipelineComponent.InsertOutput(DTSInsertPlacement, Int32).) | |
InsertOutputColumnAt | Infrastructure. Inserts an output at a specified column index. (remplace 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. (hérité de PipelineComponent.) | |
LoadScriptFromComponent | Infrastructure. Loads script from component. | |
MapInputColumn | Establishes a relationship between an input column and a corresponding external metadata column. (hérité de PipelineComponent.) | |
MapOutputColumn | Establishes a relationship between an output column and a corresponding external metadata column. (hérité de PipelineComponent.) | |
MemberwiseClone | (hérité de Object.) | |
OnDeletingInputColumn | Deletes an IDTSInputColumn100 object from the IDTSInputColumnCollection100. (hérité de PipelineComponent.) | |
OnInputPathAttached | Called when an IDTSInput100 object is connected to the component through the IDTSPath100 interface. (hérité de PipelineComponent.) | |
OnInputPathDetached | Called when an IDTSInput100 object is disconnected from the component through the IDTSPath100 interface. (hérité de PipelineComponent.) | |
OnOutputPathAttached | Called when an IDTSOutput100 object of the component is attached to a downstream component. (hérité de PipelineComponent.) | |
PerformUpgrade | Infrastructure. Performs a ScriptComponentHost upgrade. (remplace PipelineComponent.PerformUpgrade(Int32).) | |
PostExecute | Infrastructure. Specifies the ScriptComponentHost after execution. (remplace PipelineComponent.PostExecute().) | |
PreExecute | Infrastructure. Specifies the ScriptComponentHost before execution. (remplace PipelineComponent.PreExecute().) | |
PrepareForExecute | Infrastructure. Prepares the ScriptComponentHost before execution. (remplace PipelineComponent.PrepareForExecute().) | |
PrimeOutput | Infrastructure. Specifies the prime output for the ScriptComponentHost. (remplace PipelineComponent.PrimeOutput(Int32, array<Int32[], array<PipelineBuffer[]).) | |
ProcessInput | Infrastructure. Processes the ScriptComponentHost input. (remplace PipelineComponent.ProcessInput(Int32, PipelineBuffer).) | |
ProvideComponentProperties | Infrastructure. Provides properties for the ScriptComponentHost. (remplace PipelineComponent.ProvideComponentProperties().) | |
PutBinaryCode | Infrastructure. Puts binary codes in the ScriptComponentHost. | |
PutSourceCode | Infrastructure. Puts source code to the ScriptComponentHost. | |
RegisterEvents | When you are developing a custom data flow component, you override this method to create custom events. (hérité de PipelineComponent.) | |
RegisterLogEntries | Infrastructure. Registers log entries for the ScriptComponentHost. (remplace PipelineComponent.RegisterLogEntries().) | |
ReinitializeMetaData | Repairs any errors identified during validation that cause the component to return VS_NEEDSNEWMETADATA at design time. (hérité de PipelineComponent.) | |
ReleaseConnections | Infrastructure. Releases connection for the host. (remplace PipelineComponent.ReleaseConnections().) | |
RemoveAllInputsOutputsAndCustomProperties | Deletes each IDTSInput100 and IDTSOutput100 object from the component. (hérité de PipelineComponent.) | |
SaveScriptProject | Infrastructure. Saves the ScriptComponentHost script project. | |
SetComponentProperty | Infrastructure. Sets the component property of the host. (remplace PipelineComponent.SetComponentProperty(String, Object).) | |
SetExternalMetadataColumnDataTypeProperties | Sets the data type properties of the specified external metadata column. (hérité de PipelineComponent.) | |
SetExternalMetadataColumnProperty | Sets an individual property of an external metadata column. (hérité de PipelineComponent.) | |
SetInputColumnProperty | Assigns a value to the IDTSCustomProperty100 of an IDTSInputColumn100 object. (hérité de PipelineComponent.) | |
SetInputProperty | Assigns a value to the IDTSCustomProperty100 of an IDTSInput100 object. (hérité de PipelineComponent.) | |
SetOutputColumnDataTypeProperties | Infrastructure. Sets the output column data type property for the component host. (remplace PipelineComponent.SetOutputColumnDataTypeProperties(Int32, Int32, DataType, Int32, Int32, Int32, Int32).) | |
SetOutputColumnProperty | Sets the value of an IDTSCustomProperty100 for an IDTSOutputColumn100 object. (hérité de PipelineComponent.) | |
SetOutputProperty | Sets the value of an IDTSCustomProperty100 on an IDTSOutput100 object. (hérité de PipelineComponent.) | |
SetUsageType | Creates an IDTSInputColumn100 object in the IDTSInputColumnCollection100 of the component and sets the UsageType property of the column. (hérité de PipelineComponent.) | |
ShowIDE | Infrastructure. Shows the IDE for the Component host. | |
ToString | (hérité de Object.) | |
Validate | Infrastructure. Validates the component host. (remplace PipelineComponent.Validate().) |
Haut de la page
Sécurité des threads
Tous les membres publics static (Shared dans Visual Basic) de ce type sont thread-safe. Tous les membres de l'instance ne sont pas garantis comme étant thread-safe.