Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Removes the first occurrence of the specified Task object from the TaskCollection.
Namespace: Microsoft.WindowsServerSolutions.Administration.ObjectModel
Assembly: Microsoft.WindowsServerSolutions.Administration.ObjectModel (in Microsoft.WindowsServerSolutions.Administration.ObjectModel.dll)
Syntax
public bool Remove(
Task item
)
public:
virtual bool Remove(
Task^ item
) sealed
Public Function Remove (
item As Task
) As Boolean
Parameters
item
Type: Microsoft.WindowsServerSolutions.Administration.ObjectModel.TaskThe Task object to remove from the TaskCollection.
Return Value
Type: System.Boolean
true if the Task object is successfully removed; otherwise, false. This method also returns false if the Task object was not found in the TaskCollection.
Implements
See Also
TaskCollection Class
Microsoft.WindowsServerSolutions.Administration.ObjectModel Namespace
Return to top