Share via


Event.State Property

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

Namespace:  Microsoft.SqlServer.Management.XEvent
Assembly:  Microsoft.SqlServer.Management.XEvent (in Microsoft.SqlServer.Management.XEvent.dll)

Syntax

'Declaration
<SfcIgnoreAttribute> _
Public ReadOnly Property State As SfcObjectState 
    Get
'Usage
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

Property Value

Type: Microsoft.SqlServer.Management.Sdk.Sfc.SfcObjectState
The state of the object.

See Also

Reference

Event Class

Microsoft.SqlServer.Management.XEvent Namespace