The number of Active Directory objects in the lost and found container. To determine the lost and found count, you must first bind to the lost and found container.
ActiveDirectory.LostAndFoundCount
Read only.
Long.
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.