Поделиться через


Метод SmoCollectionBase.GetObjectByIndex

Extracts a member from the referenced collection using a system-defined, unique identifier.

Пространство имен:  Microsoft.SqlServer.Management.Smo
Сборка:  Microsoft.SqlServer.Smo (в Microsoft.SqlServer.Smo.dll)

Синтаксис

'Декларация
Protected Function GetObjectByIndex ( _
    index As Integer _
) As SqlSmoObject
'Применение
Dim index As Integer 
Dim returnValue As SqlSmoObject 

returnValue = Me.GetObjectByIndex(index)
protected SqlSmoObject GetObjectByIndex(
    int index
)
protected:
SqlSmoObject^ GetObjectByIndex(
    int index
)
member GetObjectByIndex : 
        index:int -> SqlSmoObject
protected function GetObjectByIndex(
    index : int
) : SqlSmoObject

Параметры

  • index
    Тип: System.Int32
    An Int32 value that specifies the index position of the object in the collection.

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

Тип: Microsoft.SqlServer.Management.Smo.SqlSmoObject
An Object system object that has the specified index value.

Замечания

Это пространство имен, класс или элемент поддерживаются только платформой Microsoft .NET Framework версии 2.0.

Примеры

Использование коллекций

См. также

Справочник

SmoCollectionBase Класс

Пространство имен Microsoft.SqlServer.Management.Smo