versionMaj Property
versionMin Property
Return the major and minor components of the version of the Log Parser scriptable COM components currently being used.
Read-only properties.
Script Syntax
value = objLogQuery.versionMaj;
value = objLogQuery.versionMin;
Return Values
Integer values containing the major and minor components of the version of the Log Parser scriptable COM components currently being used.
Examples
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
See also:
LogQuery ObjectLog Parser COM API Overview
C# Example