3.1.1.3.3.8 doGarbageCollection
3.1.1.3.3.8 doGarbageCollection

This operation requests that garbage collection be immediately performed on the DC. Tombstones and recycled-objects are subject to the requirement that they must be kept for at least the tombstone lifetime (see 3.1.1.6.2), but they may be kept longer. Deleted-objects are subject to the requirement that they must be kept for at least the deleted-object lifetime. Garbage collection identifies tombstones and recycled-objects that have been kept for at least the tombstone lifetime and removes them. Additionally, garbage collection identifies deleted-objects that have been kept for at least the deleted-object lifetime and transforms them to recycled-objects. On a correctly functioning DC, there should not be a need to manually trigger garbage collection via this operation. The requester must have the "Do-Garbage-Collection" control access right on the DC's DSA object.

This operation is triggered by setting the doGarbageCollection attribute to "1".

The following shows an LDIF sample that performs this operation.

dn:
changetype: modify
add: doGarbageCollection
doGarbageCollection: 1
-
 
© 2010 Microsoft Corporation. All rights reserved.   Terms of Use | Trademarks | Privacy Statement
Page view tracker
Rate the Lightweight library
x
Lightweight builds on ScriptFree (loband) by adding features you've requested: a SearchBox and default code language selection.
Do you like the SearchBox?
Do you like the tabbed code blocks?
How useful is this topic?
Tell us more.
Thanks
x
You're helping to improve MSDN Online.
Feedback
Switch View
Classic
Lightweight Beta
ScriptFree
Switch View