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