This read-only property specifies the date when the log was created.
Syntax
IGatherLog.Created
Example
The following example displays the date when the current log was created.
Option Explicit
On Error Resume Next
Dim objSearchAdmin, objBuildServer, objCatalogs, objCatalog, objLogs, objLog
Set objSearchAdmin = CreateObject("Search.SearchAdmin.1")
Set objBuildServer = objSearchAdmin.BuildServer
Set objCatalogs = objBuildServer.BuildCatalogs
Set objCatalog = objCatalogs("KMSampleCatalog2")
Set objLogs = objCatalog.objLogs
Set objLog = objLogs.CurrentLog
Wscript.Echo "The current log, " & objLog.Name & " was created at " _
& objLog.Created
'Release objects
Set objLog = Nothing
Set objLogs = Nothing
Set objCatalog = Nothing
Set objCatalogs = Nothing
Set objBuildServer = Nothing
Set objSearchAdmin = Nothing
See Also