共用方式為


Subscription.GetFieldType Method

Returns the data type of a field in the subscription record.

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

語法

'宣告
Public Function GetFieldType ( _
    fieldOrdinal As Integer _
) As String
public string GetFieldType (
    int fieldOrdinal
)
public:
virtual String^ GetFieldType (
    int fieldOrdinal
) sealed
public final String GetFieldType (
    int fieldOrdinal
)
public final function GetFieldType (
    fieldOrdinal : int
) : String

參數

  • fieldOrdinal
    The zero-based ordinal of the subscription field for which you want the type returned.

傳回值

A String containing the field data type.

執行緒安全性

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 的硬體和軟體需求>。

請參閱

參考

Subscription Class
Subscription Members
Microsoft.SqlServer.NotificationServices Namespace