Udostępnij przez


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

'Deklaracja
<DispIdAttribute(0)> _
ReadOnly Default Property Item ( _
    <InAttribute> Index As Object _
) As IDTSRuntimeConnection100
[DispIdAttribute(0)] 
IDTSRuntimeConnection100 this [
    [InAttribute] Object Index
] { get; }
[DispIdAttribute(0)] 
property IDTSRuntimeConnection100^ default [Object^] {
    IDTSRuntimeConnection100^ get ([InAttribute] Object^ Index);
}
/** @property */
/** @attribute DispIdAttribute(0) */ 
IDTSRuntimeConnection100 get_Item (/** @attribute InAttribute() */ Object Index)

Parameters

  • Index
    The name or index of the connection to retrieve.

Property Value

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.

Thread Safety

Any public static (Shared in Microsoft Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server.

Target Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server.