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 네임스페이스