Dela via


DataEventColumnInfo.ID Property

Gets the SQL Foundation Class key of a DataEventColumnInfo 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 DataEventColumnInfo 
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

Property Value

Type: System.Int32
Returns an SfcKey that specifies the identity key.

See Also

Reference

DataEventColumnInfo Class

Microsoft.SqlServer.Management.XEvent Namespace