Compartir a través de


ApplicationEnumeration Class

Represents the collection of Notification Services applications in a given Notification Services instance. 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
<DefaultMemberAttribute("Item")> _
<ComVisibleAttribute(True)> _
<ClassInterfaceAttribute(ClassInterfaceType.None)> _
<GuidAttribute("0FBD8CD3-5E06-39D4-9E84-DA6FA9B1A1A8")> _
Public Class ApplicationEnumeration
    Implements IApplicationEnumeration, IEnumerable
[DefaultMemberAttribute("Item")] 
[ComVisibleAttribute(true)] 
[ClassInterfaceAttribute(ClassInterfaceType.None)] 
[GuidAttribute("0FBD8CD3-5E06-39D4-9E84-DA6FA9B1A1A8")] 
public class ApplicationEnumeration : IApplicationEnumeration, IEnumerable
[DefaultMemberAttribute(L"Item")] 
[ComVisibleAttribute(true)] 
[ClassInterfaceAttribute(ClassInterfaceType::None)] 
[GuidAttribute(L"0FBD8CD3-5E06-39D4-9E84-DA6FA9B1A1A8")] 
public ref class ApplicationEnumeration : IApplicationEnumeration, IEnumerable
/** @attribute DefaultMemberAttribute("Item") */ 
/** @attribute ComVisibleAttribute(true) */ 
/** @attribute ClassInterfaceAttribute(ClassInterfaceType.None) */ 
/** @attribute GuidAttribute("0FBD8CD3-5E06-39D4-9E84-DA6FA9B1A1A8") */ 
public class ApplicationEnumeration implements IApplicationEnumeration, IEnumerable
DefaultMemberAttribute("Item") 
ComVisibleAttribute(true) 
ClassInterfaceAttribute(ClassInterfaceType.None) 
GuidAttribute("0FBD8CD3-5E06-39D4-9E84-DA6FA9B1A1A8") 
public class ApplicationEnumeration implements IApplicationEnumeration, 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.Instance.Applications property, which returns an ApplicationCollection object. This class is included only for compatibility with earlier versions of Notification Services and may not be supported in a future release.

The ApplicationEnumeration class allows an application to iterate through the set of Notification Services applications in a given Notification Services instance. It also provides an Item property to return an NSApplication object that represents a specific Notification Services application. This class is used primarily for administrative purposes and for configuring subscription management applications.

Inheritance Hierarchy

System.Object
  Microsoft.SqlServer.NotificationServices.ApplicationEnumeration

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

ApplicationEnumeration Members
Microsoft.SqlServer.NotificationServices Namespace