SPDatabaseSnapshotCollection.IEnumerable.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.LinkDemand, ObjectModel := True)> _
Private Function GetEnumerator As IEnumerator
Implements IEnumerable.GetEnumerator
'Usage
Dim instance As SPDatabaseSnapshotCollection
Dim returnValue As IEnumerator
returnValue = CType(instance, IEnumerable).GetEnumerator()
[SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel = true)]
IEnumeratorIEnumerable.GetEnumerator()
Return Value
Type: System.Collections.IEnumerator
An object that can enumerate the collection.
Implements
See Also
Reference
SPDatabaseSnapshotCollection Class