Description
For security enhancement, if this flag is set to true, the querying will be logged in table RSAT. By default, the flag is set to false.
Property type
Read-write property
Syntax
| Visual Basic |
|---|
Public Property RecordSetAudit() As Boolean |
Example
| C# | Copy Code |
|---|
SAPbobsCOM.Recordset oRecordSet = oCompany.GetBusinessObject(SAPbobsCOM.BoObjectTypes.BoRecordset); SAPbobsCOM.RecordsetEx oRecordSetex = oCompany.GetBusinessObject(SAPbobsCOM.BoObjectTypes.BoRecordsetEx); string query = ""select * from oitm""; oRecordSet.RecordSetAudit = true; oRecordSetex.RecordSetAudit = true; try { oRecordSetex.DoQuery(query); oRecordSet.DoQuery(query); } catch (Exception e) { Console.WriteLine(e.Message); } |
|
See Also