EventClassEnumeration Class

Represents the collection of event 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("BF83D1D4-E7DC-32D7-B494-E774AEBDB1EB")> _
<DefaultMemberAttribute("Item")> _
<ClassInterfaceAttribute(ClassInterfaceType.None)> _
Public Class EventClassEnumeration
    Implements IEventClassEnumeration, IEnumerable
[ComVisibleAttribute(true)] 
[GuidAttribute("BF83D1D4-E7DC-32D7-B494-E774AEBDB1EB")] 
[DefaultMemberAttribute("Item")] 
[ClassInterfaceAttribute(ClassInterfaceType.None)] 
public class EventClassEnumeration : IEventClassEnumeration, IEnumerable
[ComVisibleAttribute(true)] 
[GuidAttribute(L"BF83D1D4-E7DC-32D7-B494-E774AEBDB1EB")] 
[DefaultMemberAttribute(L"Item")] 
[ClassInterfaceAttribute(ClassInterfaceType::None)] 
public ref class EventClassEnumeration : IEventClassEnumeration, IEnumerable
/** @attribute ComVisibleAttribute(true) */ 
/** @attribute GuidAttribute("BF83D1D4-E7DC-32D7-B494-E774AEBDB1EB") */ 
/** @attribute DefaultMemberAttribute("Item") */ 
/** @attribute ClassInterfaceAttribute(ClassInterfaceType.None) */ 
public class EventClassEnumeration implements IEventClassEnumeration, IEnumerable
ComVisibleAttribute(true) 
GuidAttribute("BF83D1D4-E7DC-32D7-B494-E774AEBDB1EB") 
DefaultMemberAttribute("Item") 
ClassInterfaceAttribute(ClassInterfaceType.None) 
public class EventClassEnumeration implements IEventClassEnumeration, IEnumerable

Notas

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

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

Inheritance Hierarchy

System.Object
  Microsoft.SqlServer.NotificationServices.EventClassEnumeration

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

EventClassEnumeration Members
Microsoft.SqlServer.NotificationServices Namespace