Méthode XEStore.ObjectMetadata.GetAll<T>

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

Espace de noms :  Microsoft.SqlServer.Management.XEvent
Assembly :  Microsoft.SqlServer.Management.XEvent (en Microsoft.SqlServer.Management.XEvent.dll)

Syntaxe

'Déclaration
Public Function GetAll(Of T As {SfcInstance, IXEObjectInfo}) ( _
    name As String _
) As ICollection(Of T)
'Utilisation
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 ne prend pas en charge les types et les méthodes génériques.

Paramètres de type

  • T
    The type of the object to return.

Paramètres

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

Valeur de retour

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

Voir aussi

Référence

XEStore.ObjectMetadata Classe

Espace de noms Microsoft.SqlServer.Management.XEvent