Метод PipelineComponent.InsertExternalMetadataColumnAt
Inserts a new external metadata column into the collection of external metadata columns at the specified index.
Этот API-интерфейс несовместим с CLS.
Пространство имен: Microsoft.SqlServer.Dts.Pipeline
Сборка: Microsoft.SqlServer.PipelineHost (в Microsoft.SqlServer.PipelineHost.dll)
Синтаксис
'Декларация
<CLSCompliantAttribute(False)> _
Public Overridable Function InsertExternalMetadataColumnAt ( _
iID As Integer, _
iExternalMetadataColumnIndex As Integer, _
strName As String, _
strDescription As String _
) As IDTSExternalMetadataColumn100
'Применение
Dim instance As PipelineComponent
Dim iID As Integer
Dim iExternalMetadataColumnIndex As Integer
Dim strName As String
Dim strDescription As String
Dim returnValue As IDTSExternalMetadataColumn100
returnValue = instance.InsertExternalMetadataColumnAt(iID, _
iExternalMetadataColumnIndex, strName, _
strDescription)
[CLSCompliantAttribute(false)]
public virtual IDTSExternalMetadataColumn100 InsertExternalMetadataColumnAt(
int iID,
int iExternalMetadataColumnIndex,
string strName,
string strDescription
)
[CLSCompliantAttribute(false)]
public:
virtual IDTSExternalMetadataColumn100^ InsertExternalMetadataColumnAt(
int iID,
int iExternalMetadataColumnIndex,
String^ strName,
String^ strDescription
)
[<CLSCompliantAttribute(false)>]
abstract InsertExternalMetadataColumnAt :
iID:int *
iExternalMetadataColumnIndex:int *
strName:string *
strDescription:string -> IDTSExternalMetadataColumn100
[<CLSCompliantAttribute(false)>]
override InsertExternalMetadataColumnAt :
iID:int *
iExternalMetadataColumnIndex:int *
strName:string *
strDescription:string -> IDTSExternalMetadataColumn100
public function InsertExternalMetadataColumnAt(
iID : int,
iExternalMetadataColumnIndex : int,
strName : String,
strDescription : String
) : IDTSExternalMetadataColumn100
Параметры
- iID
Тип: System.Int32
The ID of the IDTSInput100 or IDTSOutput100 that the external metadata column is associated with.
- iExternalMetadataColumnIndex
Тип: System.Int32
The index at which the new external metadata column should be inserted into the collection.
- strName
Тип: System.String
The Name of the new external metadata column.
- strDescription
Тип: System.String
The Description of the new external metadata column.
Возвращаемое значение
Тип: Microsoft.SqlServer.Dts.Pipeline.Wrapper.IDTSExternalMetadataColumn100
The newly created IDTSExternalMetadataColumn100.
Замечания
For more information about working with external metadata columns, see Реализация внешних метаданных.