Delen via


IDTSRuntimeConnectionCollection100.Item Property

Gets the IDTSRuntimeConnection100 object specified by the Index parameter.

Namespace:  Microsoft.SqlServer.Dts.Pipeline.Wrapper
Assembly:  Microsoft.SqlServer.DTSPipelineWrap (in Microsoft.SqlServer.DTSPipelineWrap.dll)

Syntax

'Declaration
ReadOnly Default Property Item ( _
    Index As Object _
) As IDTSRuntimeConnection100
    Get
'Usage
Dim instance As IDTSRuntimeConnectionCollection100
Dim Index As Object
Dim value As IDTSRuntimeConnection100

value = instance(Index)
IDTSRuntimeConnection100 this[
    Object Index
] { get; }
property IDTSRuntimeConnection100^ default[[InAttribute] Object^ Index] {
    IDTSRuntimeConnection100^ get ([InAttribute] Object^ Index);
}
abstract Item : IDTSRuntimeConnection100
JScript supports the use of indexed properties, but not the declaration of new ones.

Parameters

  • Index
    Type: System.Object
    The name or index of the connection to retrieve.

Property Value

Type: Microsoft.SqlServer.Dts.Pipeline.Wrapper.IDTSRuntimeConnection100
The IDTSRuntimeConnection100 specified by the Index parameter.

Remarks

The GetObjectByID method retrieves the run-time connection object matching the Index parameter. If an input does not exist that matches, an Microsoft.SqlServer.Dts.Runtime.HResults.DTS_E_INVALIDINDEX exception is thrown.