SPGetCmdletBase<TCmdletObject> class

Abstract base class that allows derived classes to find and return a set of objects of type TCmdletObject.


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

public abstract class SPGetCmdletBase<TCmdletObject> : SPCmdlet
where TCmdletObject : class

Type parameters


An object of the data type that is returned by the cmdlet that inherits from this base class.

The default behavior is to return all objects found. If a cmdlet needs to return only a subset of the found objects, it must set the ResultSize parameter.

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.