Share via


ProtocolEnumeration.GetEnumerator Method

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

Namespace: Microsoft.SqlServer.NotificationServices
Assembly: Microsoft.SqlServer.NotificationServices (in microsoft.sqlserver.notificationservices.dll)

Syntax

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

Return Value

An IEnumerator interface for the ProtocolEnumeration object.

Remarks

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.

Platforms

Development Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server 2005.

Target Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server 2005.

See Also

Reference

ProtocolEnumeration Class
ProtocolEnumeration Members
Microsoft.SqlServer.NotificationServices Namespace