Condividi tramite


ProtocolEnumeration Class

Represents the collection of delivery protocols in a given Notification Services application. This class is deprecated in Microsoft SQL Server 2005.

Spazio dei nomi: Microsoft.SqlServer.NotificationServices
Assembly : Microsoft.SqlServer.NotificationServices (in microsoft.sqlserver.notificationservices.dll)

Sintassi

'Dichiarazione
<DefaultMemberAttribute("Item")> _
Public Class ProtocolEnumeration
    Implements IEnumerable
[DefaultMemberAttribute("Item")] 
public class ProtocolEnumeration : IEnumerable
[DefaultMemberAttribute(L"Item")] 
public ref class ProtocolEnumeration : IEnumerable
/** @attribute DefaultMemberAttribute("Item") */ 
public class ProtocolEnumeration implements IEnumerable
DefaultMemberAttribute("Item") 
public class ProtocolEnumeration implements IEnumerable

Osservazioni

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

The ProtocolEnumeration class allows you to iterate through the set of delivery protocols available defined for a given Notification Services instance. It also provides an Item property to return a Protocol object that represents a specific delivery protocol.

Inheritance Hierarchy

System.Object
  Microsoft.SqlServer.NotificationServices.ProtocolEnumeration

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.

Piattaforme

Piattaforme di sviluppo

Per un elenco delle piattaforme supportate, vedere Requisiti hardware e software per l'Installazione di SQL Server 2005.

Piattaforme di destinazione

Per un elenco delle piattaforme supportate, vedere Requisiti hardware e software per l'Installazione di SQL Server 2005.

Vedere anche

Riferimento

ProtocolEnumeration Members
Microsoft.SqlServer.NotificationServices Namespace