BaseXEStore.ObjectMetadata.Get<T>(String) Méthode

Définition

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

T

IXEObjectInfo correspondant au nom donné.

Exceptions

si l’objet n’existe pas ou si le nom de l’objet n’est pas unique

S’applique à