SPGetCmdletBase<TCmdletObject> class

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

Inheritance hierarchy


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


Public MustInherit Class SPGetCmdletBase(Of TCmdletObject As Class) _
    Inherits SPCmdlet
Dim instance As SPGetCmdletBase(Of TCmdletObject)
public abstract class SPGetCmdletBase<TCmdletObject> : SPCmdlet
where TCmdletObject : class

Type parameters

  • TCmdletObject
    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.

Thread safety

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

See also


SPGetCmdletBase<TCmdletObject> members

Microsoft.SharePoint.PowerShell namespace