XEStore.ObjectMetadata.GetAll<T> 메서드

Returns a collection of the IXEObjectInfo matching the given package name.

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

구문

‘선언
Public Function GetAll(Of T As {SfcInstance, IXEObjectInfo}) ( _
    name As String _
) As ICollection(Of T)
‘사용 방법
Dim instance As XEStore.ObjectMetadata 
Dim name As String 
Dim returnValue As ICollection(Of T)

returnValue = instance.GetAll(name)
public ICollection<T> GetAll<T>(
    string name
)
where T : SfcInstance, IXEObjectInfo
public:
generic<typename T>
where T : SfcInstance, IXEObjectInfo 
ICollection<T>^ GetAll(
    String^ name
)
member GetAll : 
        name:string -> ICollection<'T>  when 'T : SfcInstance and IXEObjectInfo
JScript는 제네릭 형식 및 메서드를 지원하지 않습니다.

유형 매개 변수

  • T
    The type of the object to return.

매개 변수

  • name
    유형: System.String
    The name containing the following formatted parts: [module_guid].package_name.object_name; where the first two parts are optional.

반환 값

유형: System.Collections.Generic.ICollection<T>
The collection of the IXEObjectInfo matching the given name.

참고 항목

참조

XEStore.ObjectMetadata 클래스

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