Share via


xCompany.logAlways Method

Enables or disables logging for non-system tables.

Syntax

public boolean logAlways(DatabaseLogType typeOfLog, [boolean log])

Run On

Server

Parameters

  • typeOfLog
    Type: DatabaseLogType Enumeration
    An optional Boolean value that when set to true forces database logging for all non-kernel tables, and when set to false clears the database logging.

Return Value

Type: boolean
The status of the database logging for the indicated operation before the call.

Remarks

Without the optional typeOfLog parameter, this method will report the status of the database logging for the indicated operation. Note that if the optional parameter is provided, the method is guarded by CAS and the calling code must assert SysDatabaselogPermission.

See Also

Reference

xCompany Class