Compartir a través de


NotificationClassEnumeration Class

Represents the collection of notification classes in a given Notification Services application. This class is deprecated in Microsoft SQL Server 2005.

Espacio de nombres: Microsoft.SqlServer.NotificationServices
Ensamblado: Microsoft.SqlServer.NotificationServices (in microsoft.sqlserver.notificationservices.dll)

Sintaxis

'Declaración
<ComVisibleAttribute(True)> _
<GuidAttribute("F5523B19-E918-3E7F-B72A-0061895BBE13")> _
<DefaultMemberAttribute("Item")> _
<ClassInterfaceAttribute(ClassInterfaceType.None)> _
Public Class NotificationClassEnumeration
    Implements INotificationClassEnumeration, IEnumerable
[ComVisibleAttribute(true)] 
[GuidAttribute("F5523B19-E918-3E7F-B72A-0061895BBE13")] 
[DefaultMemberAttribute("Item")] 
[ClassInterfaceAttribute(ClassInterfaceType.None)] 
public class NotificationClassEnumeration : INotificationClassEnumeration, IEnumerable
[ComVisibleAttribute(true)] 
[GuidAttribute(L"F5523B19-E918-3E7F-B72A-0061895BBE13")] 
[DefaultMemberAttribute(L"Item")] 
[ClassInterfaceAttribute(ClassInterfaceType::None)] 
public ref class NotificationClassEnumeration : INotificationClassEnumeration, IEnumerable
/** @attribute ComVisibleAttribute(true) */ 
/** @attribute GuidAttribute("F5523B19-E918-3E7F-B72A-0061895BBE13") */ 
/** @attribute DefaultMemberAttribute("Item") */ 
/** @attribute ClassInterfaceAttribute(ClassInterfaceType.None) */ 
public class NotificationClassEnumeration implements INotificationClassEnumeration, IEnumerable
ComVisibleAttribute(true) 
GuidAttribute("F5523B19-E918-3E7F-B72A-0061895BBE13") 
DefaultMemberAttribute("Item") 
ClassInterfaceAttribute(ClassInterfaceType.None) 
public class NotificationClassEnumeration implements INotificationClassEnumeration, IEnumerable

Notas

In SQL Server 2005, classes for creating and managing instances and applications are in the Microsoft.SqlServer.Management.Nmo namespace. This class is replaced by the Microsoft.SqlServer.Management.Nmo.Application.NotificationClasses property, which returns a NotificationClassCollection object. This class is included only for compatibility with earlier versions of Notification Services and may not be supported in a future release.

The NotificationClassEnumeration class allows an application to iterate through the set of notification classes in a given Notification Services application. It also provides an Item property to return a NotificationClass object that represents a specific notification class.

Inheritance Hierarchy

System.Object
  Microsoft.SqlServer.NotificationServices.NotificationClassEnumeration

Seguridad para subprocesos

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.

Plataformas

Plataformas de desarrollo

Para obtener una lista de las plataformas compatibles, vea Requisitos de hardware y software para instalar SQL Server 2005.

Plataformas de destino

Para obtener una lista de las plataformas compatibles, vea Requisitos de hardware y software para instalar SQL Server 2005.

Vea también

Referencia

NotificationClassEnumeration Members
Microsoft.SqlServer.NotificationServices Namespace