IDTSRuntimeConnectionCollection100.Item[Object] Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets the IDTSRuntimeConnection100 object specified by the Index
parameter.
public:
property Microsoft::SqlServer::Dts::Pipeline::Wrapper::IDTSRuntimeConnection100 ^ default[System::Object ^] { Microsoft::SqlServer::Dts::Pipeline::Wrapper::IDTSRuntimeConnection100 ^ get(System::Object ^ Index); };
[System.Runtime.InteropServices.DispId(0)]
public Microsoft.SqlServer.Dts.Pipeline.Wrapper.IDTSRuntimeConnection100 this[object Index] { [System.Runtime.InteropServices.DispId(0)] get; }
[<System.Runtime.InteropServices.DispId(0)>]
[<get: System.Runtime.InteropServices.DispId(0)>]
member this.Item(obj) : Microsoft.SqlServer.Dts.Pipeline.Wrapper.IDTSRuntimeConnection100
Default Public ReadOnly Property Item(Index As Object) As IDTSRuntimeConnection100
Parameters
- Index
- Object
The name or index of the connection to retrieve.
Property Value
The IDTSRuntimeConnection100 specified by the Index
parameter.
- Attributes
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.