Condividi tramite


ProtocolEnumeration.GetEnumerator Method

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

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

Sintassi

'Dichiarazione
Public Function GetEnumerator As IEnumerator
public IEnumerator GetEnumerator ()
public:
IEnumerator^ GetEnumerator ()
public IEnumerator GetEnumerator ()
public function GetEnumerator () : IEnumerator

Valore restituito

An IEnumerator interface for the ProtocolEnumeration object.

Osservazioni

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.

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 Class
ProtocolEnumeration Members
Microsoft.SqlServer.NotificationServices Namespace