Return the major and minor components of the version of the Log Parser scriptable COM components currently being used.
Read-only properties.
value = objLogQuery.versionMaj;
value = objLogQuery.versionMin;
JScript example:
var oLogQuery = new ActiveXObject("MSUtil.LogQuery"); WScript.Echo( "Log Parser Version " + oLogQuery.versionMaj + "." + oLogQuery.versionMin );VBScript example:
Dim oLogQuery Set oLogQuery = CreateObject("MSUtil.LogQuery") WScript.Echo "Log Parser Version " & oLogQuery.versionMaj & "." & oLogQuery.versionMin
© 2004 Microsoft Corporation. All rights reserved.