CollectionSet.Cleanup Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
This method cleans up all activities done while configuring/starting/running this collection set Cleanup tasks: Delete collect, upload jobs Change set's state to out of the box settings Set Data collector to non-configured state if this collection set is the last running set Delete all collection set logs
public void Cleanup ();
member this.Cleanup : unit -> unit
Public Sub Cleanup ()
Remarks
This method does not delete the collection set from MSDB tables