Binds to the lost and found container.
ActiveDirectory.BindLostFoundContainer
None.
Boolean.
To determine the number of objects in the lost and found container, enter:
Dim objActiveDirectory Dim lngCount Set objActiveDirectory = CreateObject("McActiveDir.ActiveDirectory") If objActiveDirectory.BindLostFoundContainer Then lngCount = objActiveDirectory.LostAndFoundCount End If Set objActiveDirectory = Nothing
This example binds to the lost and found container and determines the number of objects in the container.