Session.Events プロパティ
セッションの EventCollection を取得します。
名前空間: Microsoft.SqlServer.Management.XEvent
アセンブリ: Microsoft.SqlServer.Management.XEvent (Microsoft.SqlServer.Management.XEvent.dll)
構文
'宣言
<SfcObjectAttribute(SfcContainerRelationship.ChildContainer, SfcContainerCardinality.ZeroToAny, _
GetType(Event))> _
Public ReadOnly Property Events As EventCollection
Get
'使用
Dim instance As Session
Dim value As EventCollection
value = instance.Events
[SfcObjectAttribute(SfcContainerRelationship.ChildContainer, SfcContainerCardinality.ZeroToAny,
typeof(Event))]
public EventCollection Events { get; }
[SfcObjectAttribute(SfcContainerRelationship::ChildContainer, SfcContainerCardinality::ZeroToAny,
typeof(Event))]
public:
property EventCollection^ Events {
EventCollection^ get ();
}
[<SfcObjectAttribute(SfcContainerRelationship.ChildContainer, SfcContainerCardinality.ZeroToAny,
typeof(Event))>]
member Events : EventCollection
function get Events () : EventCollection
プロパティ値
型: Microsoft.SqlServer.Management.XEvent.EventCollection
EventCollection オブジェクトです。