Partilhar via


SPRemoveCmdletBase<TCmdletObject> Members

Include Protected Members
Include Inherited Members

An abstract base class that removes an existing data object of the specified type from the data store.

The SPRemoveCmdletBase<TCmdletObject> type exposes the following members.

Constructors

  Name Description
Protected method SPRemoveCmdletBase<TCmdletObject> Initializes a new instance of the SPRemoveCmdletBase<TCmdletObject> class.

Top

Properties

  Name Description
Public property AssignmentCollection Gets or sets the SPAssignmentCollection object that is passed through the cmdlet pipelines for use by the final command. (Inherited from SPCmdlet.)
Public property CommandRuntime (Inherited from Cmdlet.)
Protected property ConfirmationMessage Gets or sets a message that is used to prompt the user for confirmation. (Inherited from SPCmdlet.)
Protected property DataObject Specifies the data object to be removed. For internal use only.
Protected property DisposeOutputObjects Gets or sets a Boolean value that specifies whether the base class will dispose output objects after they have been outputted. (Inherited from SPCmdlet.)
Protected property Fields A property bag that contains the public properties of the cmdlet. (Inherited from SPCmdlet.)
Public property Host (Inherited from PSCmdlet.)
Public property InvokeCommand (Inherited from PSCmdlet.)
Public property InvokeProvider (Inherited from PSCmdlet.)
Public property MyInvocation (Inherited from PSCmdlet.)
Public property ParameterSetName (Inherited from PSCmdlet.)
Public property SessionState (Inherited from PSCmdlet.)
Public property Stopping (Inherited from Cmdlet.)

Top

Methods

  Name Description
Protected method BeginProcessing Sets start markers for cmdlet execution, during which processing steps like logging and permission checks are performed; this method is called once at the beginning of cmd execution. (Inherited from SPCmdlet.)
Public method CurrentProviderLocation (Inherited from PSCmdlet.)
Protected method DeleteDataObject Abstract method that must be imiplemented to delete the specified object.
Protected method EndProcessing Provides a means for adding post-processing functionality for the cmdlet. (Inherited from SPCmdlet.)
Public method Equals (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Public method GetHashCode (Inherited from Object.)
Protected method GetProp<T> Retrieves the object from the Fields property that is associated with the specified field name. (Inherited from SPCmdlet.)
Protected method GetPropV<S> Retrieves the structure from Fields property that is associated with the specified field name. (Inherited from SPCmdlet.)
Public method GetResolvedProviderPathFromPSPath (Inherited from PSCmdlet.)
Public method GetResourceString (Inherited from Cmdlet.)
Protected method GetSwitch Retrieves a SwitchParameter object, if one is found. (Inherited from SPCmdlet.)
Public method GetType (Inherited from Object.)
Public method GetUnresolvedProviderPathFromPSPath (Inherited from PSCmdlet.)
Public method GetVariableValue(String) (Inherited from PSCmdlet.)
Public method GetVariableValue(String, Object) (Inherited from PSCmdlet.)
Protected method InternalBeginProcessing This method executes inside of the BeginProcessing() method, and before pipeline parameters on that method are set, and therefore provides a means for users to add program functionality to the BeginProcessing() method. (Inherited from SPCmdlet.)
Protected method InternalDispose Used by inheriting classes to provide clean-up code to dispose objects that were created by using the InternalValidate(), ConfirmationMessage, or InternalProcessRecord() methods. (Inherited from SPCmdlet.)
Protected method InternalEndProcessing This method executes inside of the EndProcessing() method, and therefore provides a means for users to add program functionality to the EndProcessing() method upon conclusion of cmdlet execution. (Inherited from SPCmdlet.)
Protected method InternalProcessRecord Sealed version of the InternalProcessRecord() method on the SPCmdlet class. Internally, this method calls the DeleteDataObject() method. (Overrides SPCmdlet.InternalProcessRecord().)
Protected method InternalStopProcessing Provides a means for users to add program functionality to the StopProcessing() function. (Inherited from SPCmdlet.)
Protected method InternalValidate Provides a means for validating user input during execution of the ProcessRecord() method. (Inherited from SPCmdlet.)
Public method Invoke (Inherited from Cmdlet.)
Protected method MemberwiseClone (Inherited from Object.)
Protected method ProcessRecord Provides record-by-record processing functionality for the cmdlet and logs entries for the execution of each record. This method is called once for every piped object (that is, for every record). (Inherited from SPCmdlet.)
Protected method RequireLocalFarmExist Gets or sets a Boolean value that specifies whether a local farm must exist before the cmdlet can execute. (Inherited from SPCmdlet.)
Protected method RequireUserFarmAdmin Specifies whether a cmdlet needs farm-level administrator privileges in order to execute. (Inherited from SPCmdlet.)
Protected method RequireUserMachineAdmin Specifies whether a cmdlet needs administrator privileges on the computer on which it executes. (Inherited from SPCmdlet.)
Protected method SetProp Internal use only. Do not use. (Inherited from SPCmdlet.)
Public method ShouldContinue(String, String) (Inherited from Cmdlet.)
Public method ShouldContinue(String, String, Boolean, Boolean) (Inherited from Cmdlet.)
Public method ShouldProcess(String) (Inherited from Cmdlet.)
Public method ShouldProcess(String, String) (Inherited from Cmdlet.)
Public method ShouldProcess(String, String, String) (Inherited from Cmdlet.)
Public method ShouldProcess(String, String, String, ShouldProcessReason) (Inherited from Cmdlet.)
Protected method SkipProcessCurrentRecord Provides a means to stop processing a given record and to skip over that record to the next. (Inherited from SPCmdlet.)
Protected method StopProcessing Stops record processing in cases where the user stops the cmdlet asynchronously. This method is called by PowerShell when the user strikes the keys Ctrl-C. (Inherited from SPCmdlet.)
Public method ThrowTerminatingError(ErrorRecord) (Inherited from Cmdlet.)
Protected method ThrowTerminatingError(Exception, ErrorCategory, Object) Writes the details of a terminating error to the screen as an error message and logs the details in a log file. (Inherited from SPCmdlet.)
Protected method ThrowTerminatingError(Exception, ErrorCategory, Object, String) Writes the details of a terminating error to the screen as an error message and logs the details in a log file. (Inherited from SPCmdlet.)
Public method ToString (Inherited from Object.)
Public method WriteCommandDetail (Inherited from Cmdlet.)
Public method WriteDebug (Inherited from Cmdlet.)
Public method WriteError(ErrorRecord) (Inherited from Cmdlet.)
Protected method WriteError(Exception, ErrorCategory, Object) Writes the details of non-terminating errors to the screen as an error message and logs the details in a log file. (Inherited from SPCmdlet.)
Protected method WriteError(Exception, ErrorCategory, Object, String) Writes the details of non-terminating errors to the screen as an error message and logs the details in a log file. (Inherited from SPCmdlet.)
Public method WriteObject(Object) (Inherited from Cmdlet.)
Public method WriteObject(Object, Boolean) (Inherited from Cmdlet.)
Public method WriteProgress(ProgressRecord) (Inherited from Cmdlet.)
Protected method WriteProgress(String, String) Writes progress information to the screen regarding the executing cmdlet. (Inherited from SPCmdlet.)
Protected method WriteProgress(String, String, Int32) Writes progress information to the screen regarding the executing cmdlet. (Inherited from SPCmdlet.)
Protected method WriteResult Displays an object instance and writes it to the console screen or to the cmdlet pipeline. (Inherited from SPCmdlet.)
Public method WriteVerbose (Inherited from Cmdlet.)
Public method WriteWarning(String) (Inherited from Cmdlet.)
Protected method WriteWarning(String, String) Provides a means for displaying a warning message to the user. (Inherited from SPCmdlet.)

Top

See Also

Reference

SPRemoveCmdletBase<TCmdletObject> Class

Microsoft.SharePoint.PowerShell Namespace