Push method of the Msft_MiStreamTasks class

Evaluates a list of queries of Software Inventory Logging data, and then publishes the results to an HTTPS endpoint or the key/value pair exchange of a virtual machine. If this method cannot publish the results, it saves them so they can be published later with the Flush method.

Note For information on retrieving or updating the HTTPS endpoint or the key/value pair exchange, see MsftSil_ManagementTasks.

Syntax

uint32 Push(
  [in] string  Filename,
  [in] boolean CheckCollectionHistory
);

Parameters

Filename [in]

Windows Server 2012 R2: The parameter name is filename.

The name of the file that contains the queries.

CheckCollectionHistory [in]

Set true to suppress the output based on the previous collection history; otherwise, false.

Windows Server 2012 R2: This parameter is not available before Windows Server 2016.

Return value

If this method succeeds, it returns 0. If this method fails, it returns 1. For a complete list of return values, see MI_Result enumeration.

Requirements

Minimum supported client
None supported
Minimum supported server
Windows Server 2012 R2
Namespace
Root\InventoryLogging
MOF
MiStreamProv.mof
DLL
MiStreamProv.dll

See also

Msft_MiStreamTasks