Returns the total number of input records processed by a query
executed with the ExecuteBatch
method.
Read-only property.
value = objLogQuery.inputUnitsProcessed;
JScript example:
var oLogQuery = new ActiveXObject("MSUtil.LogQuery"); // Create query text var strQuery = "SELECT TimeGenerated, EventID INTO C:\\output.csv FROM System"; strQuery += " WHERE SourceName = 'Application Popup'"; // Execute query oLogQuery.ExecuteBatch( strQuery ); // Display total number of input records processed WScript.Echo( "Input Records Processed: " + oLogQuery.inputUnitsProcessed );VBScript example:
Dim oLogQuery Dim strQuery Set oLogQuery = CreateObject("MSUtil.LogQuery") ' Create query text strQuery = "SELECT TimeGenerated, EventID INTO C:\output.csv FROM System" strQuery = strQuery & " WHERE SourceName = 'Application Popup'" ' Execute query oLogQuery.ExecuteBatch strQuery ' Display total number of input records processed WScript.Echo "Input Records Processed: " & oLogQuery.inputUnitsProcessed
© 2004 Microsoft Corporation. All rights reserved.