Share via


SPGetCmdletBase<TCmdletObject>.RetrieveDataObjects Method

Locates and retrieves a list of data objects that correspond to the cmdlet parameters.

Namespace:  Microsoft.SharePoint.PowerShell
Assembly:  Microsoft.SharePoint.PowerShell (in Microsoft.SharePoint.PowerShell.dll)

Syntax

'Declaration
Protected MustOverride Function RetrieveDataObjects As IEnumerable(Of TCmdletObject)
'Usage
Dim returnValue As IEnumerable(Of TCmdletObject)

returnValue = Me.RetrieveDataObjects()
protected abstract IEnumerable<TCmdletObject> RetrieveDataObjects()

Return Value

Type: System.Collections.Generic.IEnumerable<TCmdletObject>
Returns IEnumerable<T> that represents the list of data objects.

Remarks

Derived classes must implement this method.

See Also

Reference

SPGetCmdletBase<TCmdletObject> Class

SPGetCmdletBase<TCmdletObject> Members

Microsoft.SharePoint.PowerShell Namespace