次の方法で共有


EventField.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 EventField 
Dim value As SfcObjectState 

value = instance.State
[SfcIgnoreAttribute]
public SfcObjectState State { get; }
[SfcIgnoreAttribute]
public:
property SfcObjectState State {
    SfcObjectState get ();
}
[<SfcIgnoreAttribute>]
member State : SfcObjectState
function get State () : SfcObjectState

プロパティ値

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

関連項目

参照

EventField クラス

Microsoft.SqlServer.Management.XEvent 名前空間