Compartir a través de


GetLoggingState method of the MsftSil_ManagementTasks class

Verifies whether Software Inventory Logging is enabled, and optionally enables or disables the feature.

Syntax

uint32 GetLoggingState(
  [out] uint8 state
);

Parameters

state [out]

On success, returns an uint8 that contains 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
SILProvider.mof
DLL
SILProvider.dll

See also

MsftSil_ManagementTasks