次の方法で共有


Collect method of the Msft_MiStreamTasks class

Evaluates a list of queries of Software Inventory Logging data, and then returns an instance of the query results.

Syntax

uint32 Collect(
  [in]  string Filename,
  [out] object Results[]
);

Parameters

Filename [in]

Windows Server 2012 R2: The parameter name is filename.

The name of the file that contains the queries.

Results [out]

On success, streams a list of objects that receive the instance of the query results.

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