Share via


NotificationClassEnumeration.Item Property (Int32)

Gets a reference to a notification class using the notification class identifier.

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

Syntax

'Declaration
Public ReadOnly Default Property Item ( _
    notificationClassId As Integer _
) As NotificationClass
public NotificationClass this [
    int notificationClassId
] { get; }
public:
property NotificationClass^ default [int] {
    NotificationClass^ get (int notificationClassId);
}
/** @property */
public NotificationClass get_Item (int notificationClassId)

Parameters

  • notificationClassId
    The ID of the notification class that you want returned.

Property Value

The specified NotificationClass.

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

NotificationClassEnumeration Class
NotificationClassEnumeration Members
Microsoft.SqlServer.NotificationServices Namespace