共用方式為


SubscriberDeviceEnumeration Class

Represents the collection of devices for a given subscriber.

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

語法

'宣告
<DefaultMemberAttribute("Item")> _
<GuidAttribute("81C519C0-C603-3AB7-866A-9341DFC36759")> _
<ComVisibleAttribute(True)> _
<ClassInterfaceAttribute(ClassInterfaceType.None)> _
Public Class SubscriberDeviceEnumeration
    Implements ISubscriberDeviceEnumeration, IEnumerable
[DefaultMemberAttribute("Item")] 
[GuidAttribute("81C519C0-C603-3AB7-866A-9341DFC36759")] 
[ComVisibleAttribute(true)] 
[ClassInterfaceAttribute(ClassInterfaceType.None)] 
public class SubscriberDeviceEnumeration : ISubscriberDeviceEnumeration, IEnumerable
[DefaultMemberAttribute(L"Item")] 
[GuidAttribute(L"81C519C0-C603-3AB7-866A-9341DFC36759")] 
[ComVisibleAttribute(true)] 
[ClassInterfaceAttribute(ClassInterfaceType::None)] 
public ref class SubscriberDeviceEnumeration : ISubscriberDeviceEnumeration, IEnumerable
/** @attribute DefaultMemberAttribute("Item") */ 
/** @attribute GuidAttribute("81C519C0-C603-3AB7-866A-9341DFC36759") */ 
/** @attribute ComVisibleAttribute(true) */ 
/** @attribute ClassInterfaceAttribute(ClassInterfaceType.None) */ 
public class SubscriberDeviceEnumeration implements ISubscriberDeviceEnumeration, IEnumerable
DefaultMemberAttribute("Item") 
GuidAttribute("81C519C0-C603-3AB7-866A-9341DFC36759") 
ComVisibleAttribute(true) 
ClassInterfaceAttribute(ClassInterfaceType.None) 
public class SubscriberDeviceEnumeration implements ISubscriberDeviceEnumeration, IEnumerable

備註

The SubscriberDeviceEnumeration class allows an application to iterate through the set of devices for a given subscriber. It also provides an Item property to return a SubscriberDevice that represents a specific device.

Inheritance Hierarchy

System.Object
  Microsoft.SqlServer.NotificationServices.SubscriberDeviceEnumeration

執行緒安全性

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 的硬體和軟體需求>。

請參閱

參考

SubscriberDeviceEnumeration Members
Microsoft.SqlServer.NotificationServices Namespace