SPDatabaseSnapshotCollection.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
Public Function GetEnumerator As IEnumerator(Of SPDatabaseSnapshot)
'Usage
Dim instance As SPDatabaseSnapshotCollection
Dim returnValue As IEnumerator(Of SPDatabaseSnapshot)
returnValue = instance.GetEnumerator()
public IEnumerator<SPDatabaseSnapshot> GetEnumerator()
Return Value
Type: System.Collections.Generic.IEnumerator<SPDatabaseSnapshot>
An object that can iterate the collection.
Implements
IEnumerable<T>.GetEnumerator()
See Also
Reference
SPDatabaseSnapshotCollection Class