Поделиться через


ProtocolEnumeration.GetEnumerator Method

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

Пространство имен: Microsoft.SqlServer.NotificationServices
Сборка: Microsoft.SqlServer.NotificationServices (in microsoft.sqlserver.notificationservices.dll)

Синтаксис

'Декларация
Public Function GetEnumerator As IEnumerator
public IEnumerator GetEnumerator ()
public:
IEnumerator^ GetEnumerator ()
public IEnumerator GetEnumerator ()
public function GetEnumerator () : IEnumerator

Возвращаемое значение

An IEnumerator interface for the ProtocolEnumeration object.

Замечания

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.

Синхронизация потоков

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.

Платформы

Платформы разработки

Список поддерживаемых платформ см. в разделе Hardware and Software Requirements for Installing SQL Server 2005.

Целевые платформы

Список поддерживаемых платформ см. в разделе Hardware and Software Requirements for Installing SQL Server 2005.

См. также

Справочник

ProtocolEnumeration Class
ProtocolEnumeration Members
Microsoft.SqlServer.NotificationServices Namespace