Share via


IPackage.Events Property

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

Namespace:  Microsoft.SqlServer.XEvent
Assembly:  Microsoft.SqlServer.XEvent.Linq (in Microsoft.SqlServer.XEvent.Linq.dll)

Syntax

'Declaration
ReadOnly Property Events As ReadOnlyCollection(Of IEventMetadata)
    Get
'Usage
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>

Property Value

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

See Also

Reference

IPackage Interface

Microsoft.SqlServer.XEvent Namespace