IPackage.Events 属性

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

命名空间:  Microsoft.SqlServer.XEvent
程序集:  Microsoft.SqlServer.XEvent.Linq(在 Microsoft.SqlServer.XEvent.Linq.dll 中)

语法

声明
ReadOnly Property Events As ReadOnlyCollection(Of IEventMetadata)
    Get
用法
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>

属性值

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

请参阅

参考

IPackage 接口

Microsoft.SqlServer.XEvent 命名空间