NotificationClassEnumeration.Item Property (Int32)

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

命名空间: Microsoft.SqlServer.NotificationServices
程序集: Microsoft.SqlServer.NotificationServices (in microsoft.sqlserver.notificationservices.dll)

语法

声明
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)

参数

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

属性值

The specified NotificationClass.

线程安全

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 的硬件和软件要求。

请参阅

参考

NotificationClassEnumeration Class
NotificationClassEnumeration Members
Microsoft.SqlServer.NotificationServices Namespace