다음을 통해 공유


PlanGuideCollection.ItemById 메서드

Returns a plan guide object as indicated by the identifier of that plan guide.

네임스페이스:  Microsoft.SqlServer.Management.Smo
어셈블리:  Microsoft.SqlServer.Smo(Microsoft.SqlServer.Smo.dll)

구문

‘선언
Public Function ItemById ( _
    id As Integer _
) As PlanGuide
‘사용 방법
Dim instance As PlanGuideCollection 
Dim id As Integer 
Dim returnValue As PlanGuide 

returnValue = instance.ItemById(id)
public PlanGuide ItemById(
    int id
)
public:
PlanGuide^ ItemById(
    int id
)
member ItemById : 
        id:int -> PlanGuide
public function ItemById(
    id : int
) : PlanGuide

매개 변수

반환 값

유형: Microsoft.SqlServer.Management.Smo.PlanGuide
The plan guide indicated by the identifier.

참고 항목

참조

PlanGuideCollection 클래스

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