Event クラス

定義

Event のランタイム クラス。 このクラスの各インスタンスは、sys.server_event_session_eventsの行を表します。

public sealed class Event : Microsoft.SqlServer.Management.Sdk.Sfc.SfcInstance, Microsoft.SqlServer.Management.XEvent.ISessionObject
type Event = class
    inherit SfcInstance
    interface ISfcDiscoverObject
    interface ISessionObject
Public NotInheritable Class Event
Inherits SfcInstance
Implements ISessionObject
継承
実装

コンストラクター

名前 説明
Event()

Event クラスの新しいインスタンスを初期化します。 空のコンストラクターは SFC の規則です。

Event(Session, EventInfo)

EventInfo オブジェクトから Event クラスの新しいインスタンスを初期化します。

Event(Session, String)

指定された親と名前を使用して、 Event クラスの新しいインスタンスを初期化します。

フィールド

名前 説明
TypeTypeName

型名

プロパティ

名前 説明
AbstractIdentityKey

Event のランタイム クラス。 このクラスの各インスタンスは、sys.server_event_session_eventsの行を表します。

(継承元 SfcInstance)
Actions

このイベントのアクションを取得します。

Description

イベントの説明を取得または設定します。 Set アクセサーは内部でのみ使用されます。

EventFields

イベント ファイル コレクションを取得します。

ID

説明を取得します。

IdentityKey

ID キーを取得します。

KeyChain

オブジェクトの ID パスを返します。

(継承元 SfcInstance)
Metadata

Event のランタイム クラス。 このクラスの各インスタンスは、sys.server_event_session_eventsの行を表します。

(継承元 SfcInstance)
ModuleID

モジュール ID を取得します。

Name

イベントの名前

PackageName

イベントが属するパッケージ名を取得します。

Parent

イベントの親プロパティ。

Predicate

PredicateExpression の述語ツリー。

PredicateExpression

これは述語の文字列表現です。

Properties

Event のランタイム クラス。 このクラスの各インスタンスは、sys.server_event_session_eventsの行を表します。

(継承元 SfcInstance)
PropertyStorageProvider

このプロパティは、ISfcPropertyStorageProvider インターフェイスの SFC の既定の実装を返します。子クラスでオーバーライドして、別のストレージ プロバイダー (フラット プロパティ リスト) を返すことができます。

(継承元 SfcInstance)
ScriptName

スクリプト用に書式設定されたイベント名を取得します。

State

セッションの Alter 関数で使用されるオブジェクトの状態。

Urn

各要求に新しい Urn 文字列を作成し、それを返します。

(継承元 SfcInstance)

メソッド

名前 説明
AddAction(ActionInfo)

ActionInfo からアクションを作成し、アクション コレクションに追加します。

AddAction(String)

指定した名前のアクションを作成し、アクションに追加します。

AlterImpl()

Event のランタイム クラス。 このクラスの各インスタンスは、sys.server_event_session_eventsの行を表します。

(継承元 SfcInstance)
CheckObjectCreated()

API でオブジェクトを CheckObjectState よりも厳密に作成する必要がある場合に、ドメインから呼び出す

(継承元 SfcInstance)
CheckObjectState()

オブジェクトへのアクセスのためにドメインから呼び出す

(継承元 SfcInstance)
CreateIdentityKey()

Event のランタイム クラス。 このクラスの各インスタンスは、sys.server_event_session_eventsの行を表します。

(継承元 SfcInstance)
CreateImpl()

Event のランタイム クラス。 このクラスの各インスタンスは、sys.server_event_session_eventsの行を表します。

(継承元 SfcInstance)
Discover(ISfcDependencyDiscoveryObjectSink)

Event のランタイム クラス。 このクラスの各インスタンスは、sys.server_event_session_eventsの行を表します。

(継承元 SfcInstance)
DropImpl()

Event のランタイム クラス。 このクラスの各インスタンスは、sys.server_event_session_eventsの行を表します。

(継承元 SfcInstance)
GetChildCollection(String)

指定された要素名の文字列に対して、このインスタンスの子コレクションを取得します。

(継承元 SfcInstance)
GetDomain()

Event のランタイム クラス。 このクラスの各インスタンスは、sys.server_event_session_eventsの行を表します。

(継承元 SfcInstance)
GetObjectFactory()

オブジェクト ファクトリを取得します。

GetPropertySet()

Event のランタイム クラス。 このクラスの各インスタンスは、sys.server_event_session_eventsの行を表します。

(継承元 SfcInstance)
GetTypeMetadata()

Sfc 型メタデータを取得します。

GetTypeMetadataImpl()

Event のランタイム クラス。 このクラスの各インスタンスは、sys.server_event_session_eventsの行を表します。

(継承元 SfcInstance)
HasCustomizableField()

イベントに少なくとも 1 つのフィールドを設定する必要があるかどうかを判断します。

InitializeUIPropertyState()

状態の初期化を気にする子オブジェクト (現在は "" である動的メタデータ) からオーバーライドできます。Enabled" プロパティ)

(継承元 SfcInstance)
MarkForDropImpl(Boolean)

Event のランタイム クラス。 このクラスの各インスタンスは、sys.server_event_session_eventsの行を表します。

(継承元 SfcInstance)
MarkRootAsConnected()

Event のランタイム クラス。 このクラスの各インスタンスは、sys.server_event_session_eventsの行を表します。

(継承元 SfcInstance)
MoveImpl(SfcInstance)

Event のランタイム クラス。 このクラスの各インスタンスは、sys.server_event_session_eventsの行を表します。

(継承元 SfcInstance)
OnPropertyMetadataChanges(SfcPropertyMetadataChangedEventArgs)

Event のランタイム クラス。 このクラスの各インスタンスは、sys.server_event_session_eventsの行を表します。

(継承元 SfcInstance)
OnPropertyValueChanges(PropertyChangedEventArgs)

Event のランタイム クラス。 このクラスの各インスタンスは、sys.server_event_session_eventsの行を表します。

(継承元 SfcInstance)
PostAlter(Object)

Event のランタイム クラス。 このクラスの各インスタンスは、sys.server_event_session_eventsの行を表します。

(継承元 SfcInstance)
PostCreate(Object)

Event のランタイム クラス。 このクラスの各インスタンスは、sys.server_event_session_eventsの行を表します。

(継承元 SfcInstance)
PostDrop(Object)

Event のランタイム クラス。 このクラスの各インスタンスは、sys.server_event_session_eventsの行を表します。

(継承元 SfcInstance)
PostMove(Object)

Event のランタイム クラス。 このクラスの各インスタンスは、sys.server_event_session_eventsの行を表します。

(継承元 SfcInstance)
PostRename(Object)

Event のランタイム クラス。 このクラスの各インスタンスは、sys.server_event_session_eventsの行を表します。

(継承元 SfcInstance)
Refresh()

オブジェクトのプロパティをサーバーから読み取って更新します。

(継承元 SfcInstance)
RemoveAction(Action)

セッションからアクションを削除します。

RenameImpl(SfcKey)

Event のランタイム クラス。 このクラスの各インスタンスは、sys.server_event_session_eventsの行を表します。

(継承元 SfcInstance)
ResetKey()

Event のランタイム クラス。 このクラスの各インスタンスは、sys.server_event_session_eventsの行を表します。

(継承元 SfcInstance)
Serialize(XmlWriter)

Event のランタイム クラス。 このクラスの各インスタンスは、sys.server_event_session_eventsの行を表します。

(継承元 SfcInstance)
SetEventInfo(EventInfo)

保留中のイベントの EventInfo を設定します。

ToString()

Event のランタイム クラス。 このクラスの各インスタンスは、sys.server_event_session_eventsの行を表します。

(継承元 SfcInstance)
UpdateUIPropertyState()

Event のランタイム クラス。 このクラスの各インスタンスは、sys.server_event_session_eventsの行を表します。

(継承元 SfcInstance)
Validate()

基本的な子オブジェクトの検証

(継承元 SfcInstance)

イベント

名前 説明
propertyChanged

Event のランタイム クラス。 このクラスの各インスタンスは、sys.server_event_session_eventsの行を表します。

(継承元 SfcInstance)
PropertyChanged

Event のランタイム クラス。 このクラスの各インスタンスは、sys.server_event_session_eventsの行を表します。

(継承元 SfcInstance)
propertyMetadataChanged

Event のランタイム クラス。 このクラスの各インスタンスは、sys.server_event_session_eventsの行を表します。

(継承元 SfcInstance)
PropertyMetadataChanged

Event のランタイム クラス。 このクラスの各インスタンスは、sys.server_event_session_eventsの行を表します。

(継承元 SfcInstance)

明示的なインターフェイスの実装

名前 説明
ISessionObject.GetCreateScript()

イベントを追加するためのスクリプトを生成します。 セッションの作成で使用されます。

ISessionObject.GetDropScript()

イベントを削除するためのスクリプトを生成します。 Alter Session で使用されます。

ISessionObject.IsDirty()

Event のランタイム クラス。 このクラスの各インスタンスは、sys.server_event_session_eventsの行を表します。

ISfcDiscoverObject.Discover(ISfcDependencyDiscoveryObjectSink)

Event のランタイム クラス。 このクラスの各インスタンスは、sys.server_event_session_eventsの行を表します。

適用対象