BaseXEStore.ObjectMetadata.Get<T>(String) 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.
Retourne IXEObjectInfo la correspondance du nom donné, s’il existe et unique.
public T Get<T>(string name) where T : Microsoft.SqlServer.Management.Sdk.Sfc.SfcInstance, Microsoft.SqlServer.Management.XEvent.IXEObjectInfo;
member this.Get : string -> 'T (requires 'T :> Microsoft.SqlServer.Management.Sdk.Sfc.SfcInstance and 'T :> Microsoft.SqlServer.Management.XEvent.IXEObjectInfo)
Public Function Get(Of T As {SfcInstance, IXEObjectInfo}) (name As String) As T
Paramètres de type
- T
Type d’objet à obtenir.
Paramètres
- name
- String
format : [module_guid].package_name.object_name ; NB : les deux premières parties du nom sont facultatives
Retours
IXEObjectInfo correspondant au nom donné.
Exceptions
si l’objet n’existe pas ou si le nom de l’objet n’est pas unique