Share via


SPBackupRestoreObjectCollection.GetEnumerator method

Returns an enumerator that can be used to iterate through the collection.

Namespace:  Microsoft.SharePoint.Administration.Backup
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

Syntax

'Declaration
<SharePointPermissionAttribute(SecurityAction.Demand, ObjectModel := True)> _
Public Function GetEnumerator As IEnumerator
'Usage
Dim instance As SPBackupRestoreObjectCollection
Dim returnValue As IEnumerator

returnValue = instance.GetEnumerator()
[SharePointPermissionAttribute(SecurityAction.Demand, ObjectModel = true)]
public IEnumerator GetEnumerator()

Return value

Type: System.Collections.IEnumerator
An IEnumerator object.

Implements

IEnumerable.GetEnumerator()

See also

Reference

SPBackupRestoreObjectCollection class

SPBackupRestoreObjectCollection members

Microsoft.SharePoint.Administration.Backup namespace