Lenguaje

IDTSRuntimeConnectionCollection100.Item[Object] Propiedad

Definición

Obtiene el IDTSRuntimeConnection100 objeto especificado por el Index parámetro.

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

Parámetros

Index
Object

El nombre o índice de la conexión a recuperar.

Valor de propiedad

especificado IDTSRuntimeConnection100 por el Index parámetro .

Atributos

Comentarios

El GetObjectByID método recupera el objeto de conexión en tiempo de ejecución que coincide con el Index parámetro. Si no existe una entrada que coincida, un Microsoft. SqlServer.Dts.Runtime.HResults.DTS_E_INVALIDINDEX excepción se lanza.

Se aplica a