다음을 통해 공유


ReadOnlyEventColumnInfo.ID 속성

Gets a SQL Foundation Class key value.

네임스페이스:  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 ReadOnlyEventColumnInfo 
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 SfcKey value.

주의

The Microsoft.SqlServer.Management.Sdk.Sfc.dll contains the assemblies for SQL Foundation Classes. The library is found in the directory: %ProgramFiles%\Microsoft SQL Server\100\SDK\Assemblies.

참고 항목

참조

ReadOnlyEventColumnInfo 클래스

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