xCompany.logAlways Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
logAlways(DatabaseLogType) |
Enables or disables logging for non-system tables. |
logAlways(DatabaseLogType, Boolean) |
logAlways(DatabaseLogType)
Enables or disables logging for non-system tables.
public:
virtual bool logAlways(Dynamics::AX::Application::DatabaseLogType type1);
public virtual bool logAlways (Dynamics.AX.Application.DatabaseLogType type1);
abstract member logAlways : Dynamics.AX.Application.DatabaseLogType -> bool
override this.logAlways : Dynamics.AX.Application.DatabaseLogType -> bool
Public Overridable Function logAlways (type1 As DatabaseLogType) As Boolean
Parameters
- type1
- DatabaseLogType
Returns
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.
Applies to
logAlways(DatabaseLogType, Boolean)
public:
virtual bool logAlways(Dynamics::AX::Application::DatabaseLogType _typeOfLog, bool _log);
public virtual bool logAlways (Dynamics.AX.Application.DatabaseLogType _typeOfLog, bool _log);
abstract member logAlways : Dynamics.AX.Application.DatabaseLogType * bool -> bool
override this.logAlways : Dynamics.AX.Application.DatabaseLogType * bool -> bool
Public Overridable Function logAlways (_typeOfLog As DatabaseLogType, _log As Boolean) As Boolean
Parameters
- _typeOfLog
- DatabaseLogType
- _log
- Boolean