Condividi tramite


SubscriptionEnumeration Class

Represents the collection of subscriptions for a given subscriber.

Spazio dei nomi: Microsoft.SqlServer.NotificationServices
Assembly : Microsoft.SqlServer.NotificationServices (in microsoft.sqlserver.notificationservices.dll)

Sintassi

'Dichiarazione
<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

Osservazioni

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

Thread Safety

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.

Piattaforme

Piattaforme di sviluppo

Per un elenco delle piattaforme supportate, vedere Requisiti hardware e software per l'Installazione di SQL Server 2005.

Piattaforme di destinazione

Per un elenco delle piattaforme supportate, vedere Requisiti hardware e software per l'Installazione di SQL Server 2005.

Vedere anche

Riferimento

SubscriptionEnumeration Members
Microsoft.SqlServer.NotificationServices Namespace