共用方式為


IDTSComponentMetaData100 Interface

Definition

Contains the definition of a data flow component, including the custom properties, inputs, outputs, and input and output columns defined on a data flow component.

public interface class IDTSComponentMetaData100 : Microsoft::SqlServer::Dts::Pipeline::Wrapper::IDTSObject100
[System.Runtime.InteropServices.Guid("A7260CEC-4F9E-422E-907B-1EE0671AA7E1")]
[System.Runtime.InteropServices.TypeLibType(System.Runtime.InteropServices.TypeLibTypeFlags.FDispatchable | System.Runtime.InteropServices.TypeLibTypeFlags.FDual)]
public interface IDTSComponentMetaData100 : Microsoft.SqlServer.Dts.Pipeline.Wrapper.IDTSObject100
[System.Runtime.InteropServices.TypeLibType(System.Runtime.InteropServices.TypeLibTypeFlags.FDispatchable | System.Runtime.InteropServices.TypeLibTypeFlags.FDual)]
[System.Runtime.InteropServices.Guid("C5C8827B-60EC-4B5A-9D14-724A5683811F")]
public interface IDTSComponentMetaData100 : Microsoft.SqlServer.Dts.Pipeline.Wrapper.IDTSObject100
[System.Runtime.InteropServices.TypeLibType(System.Runtime.InteropServices.TypeLibTypeFlags.FDispatchable | System.Runtime.InteropServices.TypeLibTypeFlags.FDual)]
[System.Runtime.InteropServices.Guid("EEF33B13-9453-4129-98FD-1F0C1825CA73")]
public interface IDTSComponentMetaData100 : Microsoft.SqlServer.Dts.Pipeline.Wrapper.IDTSObject100
[<System.Runtime.InteropServices.Guid("A7260CEC-4F9E-422E-907B-1EE0671AA7E1")>]
[<System.Runtime.InteropServices.TypeLibType(System.Runtime.InteropServices.TypeLibTypeFlags.FDispatchable | System.Runtime.InteropServices.TypeLibTypeFlags.FDual)>]
type IDTSComponentMetaData100 = interface
    interface IDTSObject100
[<System.Runtime.InteropServices.TypeLibType(System.Runtime.InteropServices.TypeLibTypeFlags.FDispatchable | System.Runtime.InteropServices.TypeLibTypeFlags.FDual)>]
[<System.Runtime.InteropServices.Guid("C5C8827B-60EC-4B5A-9D14-724A5683811F")>]
type IDTSComponentMetaData100 = interface
    interface IDTSObject100
[<System.Runtime.InteropServices.TypeLibType(System.Runtime.InteropServices.TypeLibTypeFlags.FDispatchable | System.Runtime.InteropServices.TypeLibTypeFlags.FDual)>]
[<System.Runtime.InteropServices.Guid("EEF33B13-9453-4129-98FD-1F0C1825CA73")>]
type IDTSComponentMetaData100 = interface
    interface IDTSObject100
Public Interface IDTSComponentMetaData100
Implements IDTSObject100
Derived
Attributes
Implements

Remarks

The IDTSComponentMetaData100 describes the layout of a data flow component. It contains the input and output objects, input and output columns, and the custom properties of the component. It also contains information that identifies the assembly, or DLL, that is created during design time and execution of the component. A reference to the metadata for a component is obtained by creating a new component, using the New method, or by accessing an existing component in the ComponentMetaDataCollection collection of the MainPipeClass class.

Properties

AreInputColumnsValid

Gets a value that indicates whether the input columns in an IDTSComponentMetaData100 reference existing columns from the upstream component.

ComponentClassID

Gets or sets the CLSID of a component that is described by the component metadata.

ContactInfo

Gets or sets the contact information of the developer of a component.

CustomPropertyCollection

Gets the collection of custom properties exposed by a component.

Description

Gets or sets the description of the component.

ID

Gets or sets the identifier of a component.

IdentificationString

Gets a string that uniquely identifies the component.

InputCollection

Gets the collection of IDTSInput100 objects for a component.

IsDefaultLocale

Gets a value that indicates whether the locale used by a component is the default locale for the computer where the component is executing.

LocaleID

Gets or sets the identifier of the locale used by a component.

Name

Gets or sets the name of the component.

ObjectType

Gets a value indicating that the component is a data flow component.

OutputCollection

Gets the collection of IDTSOutput100 objects defined by a component.

PipelineVersion

Gets or sets the version of the data flow task within which a component is designed to execute.

RuntimeConnectionCollection

Gets the collection of IDTSRuntimeConnection100 objects for a component.

UsesDispositions

Gets or sets a value that indicates whether the component uses dispositions.

ValidateExternalMetadata

Gets or sets a value that indicates whether the component validates its column metadata against its external data source at design time.

Version

Gets or sets the version of the component.

Methods

FireCustomEvent(String, String, Object[], String, Boolean)

Raises a custom event defined by a component.

FireError(Int32, String, String, String, Int32, Boolean)

Raises an OnError(IDTSRuntimeObject100, Int32, String, String, String, Int32, String, Boolean) event.

FireInformation(Int32, String, String, String, Int32, Boolean)

Raises an OnInformation(IDTSRuntimeObject100, Int32, String, String, String, Int32, String, Boolean) event.

FireProgress(String, Int32, Int32, Int32, String, Boolean)

Raises an OnProgress(TaskHost, String, Int32, Int32, Int32, String, Boolean) event.

FireWarning(Int32, String, String, String, Int32)

Raises an OnWarning(IDTSRuntimeObject100, Int32, String, String, String, Int32, String) event.

GetComponentView()

Gets the IDTSComponentView100 interface for a component, which supports transactional edits of the component metadata.

GetErrorDescription(Int32)

Gets the description of an internal Integration Services error code.

IncrementPipelinePerfCounter(UInt32, UInt32)

Increments a data flow performance counter.

Instantiate()

Creates an instance of a component specified by the ComponentClassID property.

PostLogMessage(String, String, String, DateTime, DateTime, Int32, Byte[])

Writes an entry in a package log.

RemoveInvalidInputColumns()

Removes invalid IDTSInputColumn100 objects from an IDTSInputColumnCollection100.

Validate()

Invokes the validation of the component metadata.

Applies to