Partager via


Propriété IPackage.Events

Gets the metadata collection describing all the events exposed by this package that may present in the session.

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

Syntaxe

'Déclaration
ReadOnly Property Events As ReadOnlyCollection(Of IEventMetadata)
    Get
'Utilisation
Dim instance As IPackage 
Dim value As ReadOnlyCollection(Of IEventMetadata)

value = instance.Events
ReadOnlyCollection<IEventMetadata> Events { get; }
property ReadOnlyCollection<IEventMetadata^>^ Events {
    ReadOnlyCollection<IEventMetadata^>^ get ();
}
abstract Events : ReadOnlyCollection<IEventMetadata>
function get Events () : ReadOnlyCollection<IEventMetadata>

Valeur de propriété

Type : System.Collections.ObjectModel.ReadOnlyCollection<IEventMetadata>
The metadata collection describing all the events exposed by this package that may present in the session.

Voir aussi

Référence

IPackage Interface

Espace de noms Microsoft.SqlServer.XEvent