SPFarmManagedAccountCollection.IEnumerable.GetEnumerator method
Gets an enumerator that iterates through the collection.
Namespace: Microsoft.SharePoint.Administration
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'Declaration
<SharePointPermissionAttribute(SecurityAction.Demand, ObjectModel := True)> _
Private Function GetEnumerator As IEnumerator
Implements IEnumerable.GetEnumerator
'Usage
Dim instance As SPFarmManagedAccountCollection
Dim returnValue As IEnumerator
returnValue = CType(instance, IEnumerable).GetEnumerator()
[SharePointPermissionAttribute(SecurityAction.Demand, ObjectModel = true)]
IEnumeratorIEnumerable.GetEnumerator()
Return value
Type: System.Collections.IEnumerator
An enumerator that iterates through the collection.
Implements
Remarks
This member is an explicit interface member implementation. It can be used only when the SPFarmManagedAccountCollection instance is cast to an IEnumerable interface.
See also
Reference
SPFarmManagedAccountCollection class