共用方式為


Event.State 屬性

Gets the state of the object used in Alter function in session.

命名空間:  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
The state of the object.

請參閱

參考

Event 類別

Microsoft.SqlServer.Management.XEvent 命名空間