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.
平台
開發平台
如需受支援的平台清單,請參閱<安裝 SQL Server 2005 的硬體和軟體需求>。
目標平台
如需受支援的平台清單,請參閱<安裝 SQL Server 2005 的硬體和軟體需求>。
請參閱
參考
SubscriptionEnumeration Members
Microsoft.SqlServer.NotificationServices Namespace