Partilhar via


NotificationClass.NotificationFieldCount Property

Gets the number of fields specified in a notification class.

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

Syntax

'Declaration
Public ReadOnly Property NotificationFieldCount As Integer
public int NotificationFieldCount { get; }
public:
virtual property int NotificationFieldCount {
    int get () sealed;
}
/** @property */
public final int get_NotificationFieldCount ()
public final function get NotificationFieldCount () : int

Property Value

An Int32 representing the number of fields in the notification class.

Remarks

The return value does not include computed fields. To get the number of computed fields, use the ComputedFieldCount property.

For more information about computed fields, see Defining the Notification Schema.

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

NotificationClass Class
NotificationClass Members
Microsoft.SqlServer.NotificationServices Namespace