Поделиться через


IDTSRuntimeConnectionCollection100.Item[Object] Свойство

Определение

Возвращает объект IDTSRuntimeConnection100, указанный параметром Index.

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

Параметры

Index
Object

Имя или индекс возвращаемого соединения.

Значение свойства

Объект IDTSRuntimeConnection100, указываемый параметром Index.

Атрибуты

Комментарии

Метод GetObjectByID извлекает объект подключения во время выполнения, соответствующий параметру Index . Если входные данные не существуют, возникает исключение Microsoft.SqlServer.Dts.Runtime.HResults.DTS_E_INVALIDINDEX.

Применяется к