共用方式為


SubscriberEnumeration Class

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

命名空間: Microsoft.SqlServer.NotificationServices
組件: Microsoft.SqlServer.NotificationServices (in microsoft.sqlserver.notificationservices.dll)

語法

'宣告
<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

備註

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

執行緒安全性

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.

平台

開發平台

如需受支援的平台清單,請參閱<安裝 SQL Server 2005 的硬體和軟體需求>。

目標平台

如需受支援的平台清單,請參閱<安裝 SQL Server 2005 的硬體和軟體需求>。

請參閱

參考

SubscriberEnumeration Members
Microsoft.SqlServer.NotificationServices Namespace