共用方式為


Disable method of the MsftUal_Admin class

Disables User Access Logging on the system.

Syntax

uint32 Disable();

Parameters

This method has no parameters.

Return value

If the function succeeds, it returns 0.

If the function fails, it returns a nonzero error code.

Requirements

Minimum supported client
Windows 8
Minimum supported server
Windows Server 2012
Namespace
Root\AccessLogging
MOF
Sum.mof
DLL
UALProv.dll

See also

MsftUal_Admin