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


SubscriptionEnumeration Class

Represents the collection of subscriptions for a given subscriber.

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

Синтаксис

'Декларация
<DefaultMemberAttribute("Item")> _
<ClassInterfaceAttribute(ClassInterfaceType.None)> _
<ComVisibleAttribute(True)> _
<GuidAttribute("8D46D818-9B6E-31AD-841C-C110210453DB")> _
Public Class SubscriptionEnumeration
    Implements ISubscriptionEnumeration, IEnumerable
[DefaultMemberAttribute("Item")] 
[ClassInterfaceAttribute(ClassInterfaceType.None)] 
[ComVisibleAttribute(true)] 
[GuidAttribute("8D46D818-9B6E-31AD-841C-C110210453DB")] 
public class SubscriptionEnumeration : ISubscriptionEnumeration, IEnumerable
[DefaultMemberAttribute(L"Item")] 
[ClassInterfaceAttribute(ClassInterfaceType::None)] 
[ComVisibleAttribute(true)] 
[GuidAttribute(L"8D46D818-9B6E-31AD-841C-C110210453DB")] 
public ref class SubscriptionEnumeration : ISubscriptionEnumeration, IEnumerable
/** @attribute DefaultMemberAttribute("Item") */ 
/** @attribute ClassInterfaceAttribute(ClassInterfaceType.None) */ 
/** @attribute ComVisibleAttribute(true) */ 
/** @attribute GuidAttribute("8D46D818-9B6E-31AD-841C-C110210453DB") */ 
public class SubscriptionEnumeration implements ISubscriptionEnumeration, IEnumerable
DefaultMemberAttribute("Item") 
ClassInterfaceAttribute(ClassInterfaceType.None) 
ComVisibleAttribute(true) 
GuidAttribute("8D46D818-9B6E-31AD-841C-C110210453DB") 
public class SubscriptionEnumeration implements ISubscriptionEnumeration, IEnumerable

Замечания

The SubscriptionEnumeration class allows an application to iterate through the set of subscriptions for a given subscriber. The set of subscriptions is defined by the parameters provided within the constructor or the Initialize method. It also provides an Item property to return a Subscription object that represents a specific subscription.

Inheritance Hierarchy

System.Object
  Microsoft.SqlServer.NotificationServices.SubscriptionEnumeration

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

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.

См. также

Справочник

SubscriptionEnumeration Members
Microsoft.SqlServer.NotificationServices Namespace