Udostępnij za pośrednictwem


SubscriberEnumeration Class

Represents the collection of subscribers in a given Notification Services instance.

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

Syntax

'Declaration
<DefaultMemberAttribute("Item")> _
<ComVisibleAttribute(True)> _
<ClassInterfaceAttribute(ClassInterfaceType.None)> _
<GuidAttribute("33D49D4F-4906-3790-81D0-626BC1B2FB08")> _
Public Class SubscriberEnumeration
    Implements ISubscriberEnumeration, IEnumerable
[DefaultMemberAttribute("Item")] 
[ComVisibleAttribute(true)] 
[ClassInterfaceAttribute(ClassInterfaceType.None)] 
[GuidAttribute("33D49D4F-4906-3790-81D0-626BC1B2FB08")] 
public class SubscriberEnumeration : ISubscriberEnumeration, IEnumerable
[DefaultMemberAttribute(L"Item")] 
[ComVisibleAttribute(true)] 
[ClassInterfaceAttribute(ClassInterfaceType::None)] 
[GuidAttribute(L"33D49D4F-4906-3790-81D0-626BC1B2FB08")] 
public ref class SubscriberEnumeration : ISubscriberEnumeration, IEnumerable
/** @attribute DefaultMemberAttribute("Item") */ 
/** @attribute ComVisibleAttribute(true) */ 
/** @attribute ClassInterfaceAttribute(ClassInterfaceType.None) */ 
/** @attribute GuidAttribute("33D49D4F-4906-3790-81D0-626BC1B2FB08") */ 
public class SubscriberEnumeration implements ISubscriberEnumeration, IEnumerable
DefaultMemberAttribute("Item") 
ComVisibleAttribute(true) 
ClassInterfaceAttribute(ClassInterfaceType.None) 
GuidAttribute("33D49D4F-4906-3790-81D0-626BC1B2FB08") 
public class SubscriberEnumeration implements ISubscriberEnumeration, IEnumerable

Remarks

The SubscriberEnumeration class allows an application to iterate through the set of subscribers in a given Notification Services instance. It also provides an Item property to return a Subscriber object that represents a specific subscriber.

Inheritance Hierarchy

System.Object
  Microsoft.SqlServer.NotificationServices.SubscriberEnumeration

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

SubscriberEnumeration Members
Microsoft.SqlServer.NotificationServices Namespace