SmoCollectionBase.GetItemById 메서드 (Int32)

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 GetItemById ( _
    id As Integer _
) As SqlSmoObject
‘사용 방법
Dim id As Integer 
Dim returnValue As SqlSmoObject 

returnValue = Me.GetItemById(id)
protected SqlSmoObject GetItemById(
    int id
)
protected:
SqlSmoObject^ GetItemById(
    int id
)
member GetItemById : 
        id:int -> SqlSmoObject
protected function GetItemById(
    id : int
) : SqlSmoObject

매개 변수

  • id
    유형: System.Int32
    An Int32 value that uniquely identifies the object that is a member of the referenced collection.

반환 값

유형: Microsoft.SqlServer.Management.Smo.SqlSmoObject
An Object system object that has the specified ID value.

주의

이 네임스페이스, 클래스 또는 멤버는 Microsoft .NET Framework 2.0 버전에서만 지원됩니다.

컬렉션 사용

참고 항목

참조

SmoCollectionBase 클래스

GetItemById 오버로드

Microsoft.SqlServer.Management.Smo 네임스페이스