BaseXEStore.ObjectMetadata.GetAll Méthode
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
Surcharges
| Nom | Description |
|---|---|
| GetAll<T>(String) |
Retourne une collection de tous les IXEObjectInfo noms donnés correspondants. |
| GetAll<T>(String, String) |
Retourne une collection de la IXEObjectInfo correspondance entre le nom du package donné, le nom de l’objet. |
GetAll<T>(String)
Retourne une collection de tous les IXEObjectInfo noms donnés correspondants.
public System.Collections.Generic.ICollection<T> GetAll<T>(string name) where T : Microsoft.SqlServer.Management.Sdk.Sfc.SfcInstance, Microsoft.SqlServer.Management.XEvent.IXEObjectInfo;
member this.GetAll : string -> System.Collections.Generic.ICollection<'T (requires 'T :> Microsoft.SqlServer.Management.Sdk.Sfc.SfcInstance and 'T :> Microsoft.SqlServer.Management.XEvent.IXEObjectInfo)> (requires 'T :> Microsoft.SqlServer.Management.Sdk.Sfc.SfcInstance and 'T :> Microsoft.SqlServer.Management.XEvent.IXEObjectInfo)
Public Function GetAll(Of T As {SfcInstance, IXEObjectInfo}) (name As String) As ICollection(Of T)
Paramètres de type
- T
Type d’objet à énumérer.
Paramètres
- name
- String
format : package_name.object_name ; NB : la première partie du nom est facultative
Retours
Collection de tous les IXEObjectInfo noms donnés correspondants.
Exceptions
si le nom fourni est null.
S’applique à
GetAll<T>(String, String)
Retourne une collection de la IXEObjectInfo correspondance entre le nom du package donné, le nom de l’objet.
public System.Collections.Generic.ICollection<T> GetAll<T>(string pkgName, string objName) where T : Microsoft.SqlServer.Management.Sdk.Sfc.SfcInstance, Microsoft.SqlServer.Management.XEvent.IXEObjectInfo;
member this.GetAll : string * string -> System.Collections.Generic.ICollection<'T (requires 'T :> Microsoft.SqlServer.Management.Sdk.Sfc.SfcInstance and 'T :> Microsoft.SqlServer.Management.XEvent.IXEObjectInfo)> (requires 'T :> Microsoft.SqlServer.Management.Sdk.Sfc.SfcInstance and 'T :> Microsoft.SqlServer.Management.XEvent.IXEObjectInfo)
Public Function GetAll(Of T As {SfcInstance, IXEObjectInfo}) (pkgName As String, objName As String) As ICollection(Of T)
Paramètres de type
- T
Type d’objet à énumérer.
Paramètres
- pkgName
- String
Nom du package.
- objName
- String
Nom d’objet
Retours
Collection de la IXEObjectInfo correspondance entre le nom du package donné, le nom de l’objet.