GetLogFileInfo Method

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.

Syntax

ActiveDirectory.GetDatabaseInfo(Path String, Size Long, FreeSpace Long)

Parameters

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.

Return Type

Boolean.

Example

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