Partager via


DeliveryChannelEnumeration Class

Represents the collection of delivery channels available within a given Notification Services instance. This class is deprecated in Microsoft SQL Server 2005.

Espace de noms: Microsoft.SqlServer.NotificationServices
Assembly: Microsoft.SqlServer.NotificationServices (in microsoft.sqlserver.notificationservices.dll)

Syntaxe

'Déclaration
<DefaultMemberAttribute("Item")> _
<ComVisibleAttribute(True)> _
<ClassInterfaceAttribute(ClassInterfaceType.None)> _
<GuidAttribute("CFE89C16-29E6-381A-A057-0F54B28A4556")> _
Public Class DeliveryChannelEnumeration
    Implements IDeliveryChannelEnumeration, IEnumerable
[DefaultMemberAttribute("Item")] 
[ComVisibleAttribute(true)] 
[ClassInterfaceAttribute(ClassInterfaceType.None)] 
[GuidAttribute("CFE89C16-29E6-381A-A057-0F54B28A4556")] 
public class DeliveryChannelEnumeration : IDeliveryChannelEnumeration, IEnumerable
[DefaultMemberAttribute(L"Item")] 
[ComVisibleAttribute(true)] 
[ClassInterfaceAttribute(ClassInterfaceType::None)] 
[GuidAttribute(L"CFE89C16-29E6-381A-A057-0F54B28A4556")] 
public ref class DeliveryChannelEnumeration : IDeliveryChannelEnumeration, IEnumerable
/** @attribute DefaultMemberAttribute("Item") */ 
/** @attribute ComVisibleAttribute(true) */ 
/** @attribute ClassInterfaceAttribute(ClassInterfaceType.None) */ 
/** @attribute GuidAttribute("CFE89C16-29E6-381A-A057-0F54B28A4556") */ 
public class DeliveryChannelEnumeration implements IDeliveryChannelEnumeration, IEnumerable
DefaultMemberAttribute("Item") 
ComVisibleAttribute(true) 
ClassInterfaceAttribute(ClassInterfaceType.None) 
GuidAttribute("CFE89C16-29E6-381A-A057-0F54B28A4556") 
public class DeliveryChannelEnumeration implements IDeliveryChannelEnumeration, IEnumerable

Notes

In Microsoft SQL Server 2005, classes for creating and managing Notification Services instances and applications are in the Microsoft.SqlServer.Management.Nmo namespace. This class is replaced by the Microsoft.SqlServer.Management.Nmo.Instance.DeliveryChannels property, which returns an DeliveryChannelCollection object. This class is included only for compatibility with earlier versions of Notification Services and may not be supported in a future release.

The DeliveryChannelEnumeration class allows you to iterate through the set of delivery channels available within a given Notification Services instance. It also provides an Item property to return a DeliveryChannel object that represents a specific delivery channel. The primary use for this class is to allow you to populate a delivery channel drop-down box in your subscription management application.

Inheritance Hierarchy

System.Object
  Microsoft.SqlServer.NotificationServices.DeliveryChannelEnumeration

Sécurité des threads

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.

Plateformes

Plateformes de développement

Pour obtenir la liste des plateformes prises en charge, consultez Configuration matérielle et logicielle requise pour l'installation de SQL Server 2005.

Plateformes cibles

Pour obtenir la liste des plateformes prises en charge, consultez Configuration matérielle et logicielle requise pour l'installation de SQL Server 2005.

Voir aussi

Référence

DeliveryChannelEnumeration Members
Microsoft.SqlServer.NotificationServices Namespace