Retrieves the path and size of the active log files. It also returns the free space in kilobytes for the drive on which the log files are located.
ActiveDirectory.GetDatabaseInfo(Path String, Size Long, FreeSpace Long)
Path
|
Out. The path of the Active Directory log files. |
Size
|
Out. The size in kilobytes of the Active Directory log files. |
FreeSpace
|
Out. The amount of free space in kilobytes on the drive on which the log files are located. |
Boolean.
To get information about the Active Directory log files, enter:
Dim objActiveDirectory Dim strPath Dim lngSize, lngFreeSpace Set objActiveDirectory = CreateObject("McActiveDir.ActiveDirectory") objActiveDirectory.LogFileInfo(strPath, lngSize, lngFreeSpace) Set objActiveDirectory = Nothing