Поделиться через


SubscriptionClassEnumeration Class

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

Пространство имен: Microsoft.SqlServer.NotificationServices
Сборка: Microsoft.SqlServer.NotificationServices (in microsoft.sqlserver.notificationservices.dll)

Синтаксис

'Декларация
<DefaultMemberAttribute("Item")> _
<ComVisibleAttribute(True)> _
<ClassInterfaceAttribute(ClassInterfaceType.None)> _
<GuidAttribute("B77517A8-FD9E-3231-A87C-C59DC2A7A092")> _
Public Class SubscriptionClassEnumeration
    Implements ISubscriptionClassEnumeration, IEnumerable
[DefaultMemberAttribute("Item")] 
[ComVisibleAttribute(true)] 
[ClassInterfaceAttribute(ClassInterfaceType.None)] 
[GuidAttribute("B77517A8-FD9E-3231-A87C-C59DC2A7A092")] 
public class SubscriptionClassEnumeration : ISubscriptionClassEnumeration, IEnumerable
[DefaultMemberAttribute(L"Item")] 
[ComVisibleAttribute(true)] 
[ClassInterfaceAttribute(ClassInterfaceType::None)] 
[GuidAttribute(L"B77517A8-FD9E-3231-A87C-C59DC2A7A092")] 
public ref class SubscriptionClassEnumeration : ISubscriptionClassEnumeration, IEnumerable
/** @attribute DefaultMemberAttribute("Item") */ 
/** @attribute ComVisibleAttribute(true) */ 
/** @attribute ClassInterfaceAttribute(ClassInterfaceType.None) */ 
/** @attribute GuidAttribute("B77517A8-FD9E-3231-A87C-C59DC2A7A092") */ 
public class SubscriptionClassEnumeration implements ISubscriptionClassEnumeration, IEnumerable
DefaultMemberAttribute("Item") 
ComVisibleAttribute(true) 
ClassInterfaceAttribute(ClassInterfaceType.None) 
GuidAttribute("B77517A8-FD9E-3231-A87C-C59DC2A7A092") 
public class SubscriptionClassEnumeration implements ISubscriptionClassEnumeration, IEnumerable

Замечания

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.SubscriptionClasses property, which returns a SubscriptionClassCollection object. This class is included only for compatibility with earlier versions of Notification Services and may not be supported in a future release.

The SubscriptionClassEnumeration class allows an application to iterate through the set of subscription classes in a given Notification Services application. It also provides an Item property to return a SubscriptionClass object that represents a specific subscription class. This class is used primarily in subscription management applications.

Inheritance Hierarchy

System.Object
  Microsoft.SqlServer.NotificationServices.SubscriptionClassEnumeration

Синхронизация потоков

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.

Платформы

Платформы разработки

Список поддерживаемых платформ см. в разделе Hardware and Software Requirements for Installing SQL Server 2005.

Целевые платформы

Список поддерживаемых платформ см. в разделе Hardware and Software Requirements for Installing SQL Server 2005.

См. также

Справочник

SubscriptionClassEnumeration Members
Microsoft.SqlServer.NotificationServices Namespace