SetLoggingState method of the MsftSil_ManagementTasks class
Enables or disables Software Inventory Logging.
Syntax
uint32 SetLoggingState(
[in] uint8 state
);
Parameters
-
state [in]
-
A uint8 that receives the setting to enable or disable the feature.
-
Stopped (0)
-
Running (1)
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 |
|
DLL |
|