IDTSRuntimeConnectionCollection100.Item[Object] 属性
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
获取 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
需要检索的连接名称或索引。
属性值
由IDTSRuntimeConnection100Index参数指定的。
- 属性
注解
该 GetObjectByID 方法检索与参数匹配 Index 的运行时连接对象。 如果没有匹配的输入,就用Microsoft。SqlServer.Dts.Runtime.HResults.DTS_E_INVALIDINDEX例外被抛出。