Partager via


ProtocolEnumeration.GetEnumerator Method

Gets an IEnumerator interface that allows you to iterate through the collection of delivery protocols represented by the ProtocolEnumeration object.

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

Syntaxe

'Déclaration
Public Function GetEnumerator As IEnumerator
public IEnumerator GetEnumerator ()
public:
IEnumerator^ GetEnumerator ()
public IEnumerator GetEnumerator ()
public function GetEnumerator () : IEnumerator

Valeur de retour

An IEnumerator interface for the ProtocolEnumeration object.

Notes

Use this method to return an IEnumerator interface that allows you to iterate through the protocols in a ProtocolEnumeration object. An initialized ProtocolEnumeration object represents the collection of delivery protocols in a specified Notification Services instance.

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

ProtocolEnumeration Class
ProtocolEnumeration Members
Microsoft.SqlServer.NotificationServices Namespace