Freigeben über


VariablesCollection.GetElement Method (Int32)

Gets an element with the specified index from the collection.

Namespace: Microsoft.SqlServer.Dts.Tasks.Exec80PackageTask
Assembly : Microsoft.SqlServer.Exec80PackageTask (in microsoft.sqlserver.exec80packagetask.dll)

Syntax

'Declaration
Public Function GetElement ( _
    i As Integer _
) As Object
public Object GetElement (
    int i
)
public:
Object^ GetElement (
    int i
)
public Object GetElement (
    int i
)
public function GetElement (
    i : int
) : Object

Parameter

  • i
    The zero-based index of the element to be returned.

Rückgabewert

An Object containing the element at the specified index.

Ausnahmen

Ausnahmetyp Bedingung
ArgumentOutOfRangeException

i is less than zero.

-or-

i is equal to or greater than Count.

Threadsicherheit

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.

Plattformen

Entwicklungsplattformen

Eine Liste der unterstützten Plattformen finden Sie unterHardware- und Softwareanforderungen für die Installation von SQL Server 2005.

Zielplattforme

Eine Liste der unterstützten Plattformen finden Sie unterHardware- und Softwareanforderungen für die Installation von SQL Server 2005.

Siehe auch

Verweis

VariablesCollection Class
VariablesCollection Members
Microsoft.SqlServer.Dts.Tasks.Exec80PackageTask Namespace