Partilhar via


Subscription.GetFieldType Method

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

Namespace: Microsoft.SqlServer.NotificationServices
Assembly: Microsoft.SqlServer.NotificationServices (in microsoft.sqlserver.notificationservices.dll)

Syntax

'Declaration
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

Parameters

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

Return Value

A String containing the field data type.

Thread Safety

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.

Platforms

Development Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server 2005.

Target Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server 2005.

See Also

Reference

Subscription Class
Subscription Members
Microsoft.SqlServer.NotificationServices Namespace