共用方式為


IEvent.GetFieldOrdinal Method

Explicit interface method definition for the Event class.

命名空間: Microsoft.SqlServer.NotificationServices
組件: Microsoft.SqlServer.NotificationServices (in microsoft.sqlserver.notificationservices.dll)

語法

'宣告
Function GetFieldOrdinal ( _
    fieldName As String _
) As Integer
int GetFieldOrdinal (
    string fieldName
)
int GetFieldOrdinal (
    String^ fieldName
)
int GetFieldOrdinal (
    String fieldName
)
function GetFieldOrdinal (
    fieldName : String
) : int

參數

  • fieldName
    The name of the event field.

備註

Do not implement this method. This method is a member of an explicit interface definition for the Event class and is provided only for COM interop.

執行緒安全性

Any public static (Shared in Microsoft Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

平台

開發平台

如需受支援的平台清單,請參閱<安裝 SQL Server 2005 的硬體和軟體需求>。

目標平台

如需受支援的平台清單,請參閱<安裝 SQL Server 2005 的硬體和軟體需求>。

請參閱

參考

IEvent Interface
IEvent Members
Microsoft.SqlServer.NotificationServices Namespace