다음을 통해 공유


EventField.ID 속성

Gets the identity key of an EventField object.

네임스페이스:  Microsoft.SqlServer.Management.XEvent
어셈블리:  Microsoft.SqlServer.Management.XEvent(Microsoft.SqlServer.Management.XEvent.dll)

구문

‘선언
<SfcPropertyAttribute(SfcPropertyFlags.None Or SfcPropertyFlags.Required Or SfcPropertyFlags.ReadOnlyAfterCreation)> _
Public ReadOnly Property ID As Integer 
    Get
‘사용 방법
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

속성 값

유형: System.Int32
An integer that contains the identity key.

참고 항목

참조

EventField 클래스

Microsoft.SqlServer.Management.XEvent 네임스페이스