Share via


SPBackupRestoreParameterCollection.GetEnumerator method

Gets 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(Of SPBackupRestoreParameter)
'Usage
Dim instance As SPBackupRestoreParameterCollection
Dim returnValue As IEnumerator(Of SPBackupRestoreParameter)

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

Return value

Type: System.Collections.Generic.IEnumerator<SPBackupRestoreParameter>
An object that can iterate the collection.

Implements

IEnumerable<T>.GetEnumerator()

See also

Reference

SPBackupRestoreParameterCollection class

SPBackupRestoreParameterCollection members

Microsoft.SharePoint.Administration.Backup namespace