Share via


EventField.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 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

Property Value

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

See Also

Reference

EventField Class

Microsoft.SqlServer.Management.XEvent Namespace