Propriedade Item
Gets the IDTSRuntimeConnection100 object specified by the Index parameter.
Namespace: Microsoft.SqlServer.Dts.Pipeline.Wrapper
Assembly: Microsoft.SqlServer.DTSPipelineWrap (em Microsoft.SqlServer.DTSPipelineWrap.dll)
Sintaxe
'Declaração
ReadOnly Default Property Item ( _
Index As Object _
) As IDTSRuntimeConnection100
Get
'Uso
Dim instance As IDTSRuntimeConnectionCollection100
Dim Index As Object
Dim value As IDTSRuntimeConnection100
value = instance(Index)
IDTSRuntimeConnection100 this[
Object Index
] { get; }
property IDTSRuntimeConnection100^ default[[InAttribute] Object^ Index] {
IDTSRuntimeConnection100^ get ([InAttribute] Object^ Index);
}
abstract Item : IDTSRuntimeConnection100
JScript dá suporte ao uso de propriedades indexadas, mas não à declaração de propriedades novas.
Parâmetros
- Index
Tipo: System. . :: . .Object
The name or index of the connection to retrieve.
Valor da propriedade
Tipo: Microsoft.SqlServer.Dts.Pipeline.Wrapper. . :: . .IDTSRuntimeConnection100
The IDTSRuntimeConnection100 specified by the Index parameter.
Comentários
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.