SubscriptionEnumeration Class

Represents the collection of subscriptions for a given subscriber.

Namespace: Microsoft.SqlServer.NotificationServices
Assembly: Microsoft.SqlServer.NotificationServices (in microsoft.sqlserver.notificationservices.dll)

Syntax

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

Remarks

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.

Platforms

Development Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server 2005.

Target Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server 2005.

See Also

Reference

SubscriptionEnumeration Members
Microsoft.SqlServer.NotificationServices Namespace