EventField.ID-Eigenschaft
Gets the identity key of an EventField object.
Namespace: Microsoft.SqlServer.Management.XEvent
Assembly: Microsoft.SqlServer.Management.XEvent (in Microsoft.SqlServer.Management.XEvent.dll)
Syntax
'Declaration
<SfcPropertyAttribute(SfcPropertyFlags.None Or SfcPropertyFlags.Required Or SfcPropertyFlags.ReadOnlyAfterCreation)> _
Public ReadOnly Property ID As Integer
Get
'Usage
Dim instance As EventField
Dim value As Integer
value = instance.ID
[SfcPropertyAttribute(SfcPropertyFlags.None|SfcPropertyFlags.Required|SfcPropertyFlags.ReadOnlyAfterCreation)]
public int ID { get; }
[SfcPropertyAttribute(SfcPropertyFlags::None|SfcPropertyFlags::Required|SfcPropertyFlags::ReadOnlyAfterCreation)]
public:
property int ID {
int get ();
}
[<SfcPropertyAttribute(SfcPropertyFlags.None|SfcPropertyFlags.Required|SfcPropertyFlags.ReadOnlyAfterCreation)>]
member ID : int
function get ID () : int
Eigenschaftswert
Typ: System.Int32
An integer that contains the identity key.