VariablesCollection.GetElement Method (Int32)

Gets an element with the specified index from the collection.

Пространство имен: Microsoft.SqlServer.Dts.Tasks.Exec80PackageTask
Сборка: Microsoft.SqlServer.Exec80PackageTask (in microsoft.sqlserver.exec80packagetask.dll)

Синтаксис

'Декларация
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

Параметры

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

Возвращаемое значение

An Object containing the element at the specified index.

Исключения

Тип исключения Условие
ArgumentOutOfRangeException

i is less than zero.

-or-

i is equal to or greater than Count.

Синхронизация потоков

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.

Платформы

Платформы разработки

Список поддерживаемых платформ см. в разделе Hardware and Software Requirements for Installing SQL Server 2005.

Целевые платформы

Список поддерживаемых платформ см. в разделе Hardware and Software Requirements for Installing SQL Server 2005.

См. также

Справочник

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