SPNewCmdletBase<TCmdletObject> Class

An abstract base class that is used to create new instances of objects and save them to the data store.

Inheritance Hierarchy


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


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

Type Parameters

  • TCmdletObject
    The type of the cmdlet object to be created and saved.


Cmdlets that inherit from this base class create objects and add them to the data store.

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


SPNewCmdletBase<TCmdletObject> Members

Microsoft.SharePoint.PowerShell Namespace