次の方法で共有


Event.State プロパティ

セッションにおいて Alter 関数で使用されるオブジェクトの状態を取得します。

名前空間:  Microsoft.SqlServer.Management.XEvent
アセンブリ:  Microsoft.SqlServer.Management.XEvent (Microsoft.SqlServer.Management.XEvent.dll)

構文

'宣言
<SfcIgnoreAttribute> _
Public ReadOnly Property State As SfcObjectState 
    Get
'使用
Dim instance As Event 
Dim value As SfcObjectState 

value = instance.State
[SfcIgnoreAttribute]
public SfcObjectState State { get; }
[SfcIgnoreAttribute]
public:
virtual property SfcObjectState State {
    SfcObjectState get () sealed;
}
[<SfcIgnoreAttribute>]
abstract State : SfcObjectState
[<SfcIgnoreAttribute>]
override State : SfcObjectState
final function get State () : SfcObjectState

プロパティ値

型: Microsoft.SqlServer.Management.Sdk.Sfc.SfcObjectState
オブジェクトの状態です。

関連項目

参照

Event クラス

Microsoft.SqlServer.Management.XEvent 名前空間