DataProviderLogQueryStatement Method |
Logs the query statement into Data.DataRetrieval.QueryAudit channel at the Information level.
Namespace:
Dundas.BI.Data.DataProviders
Assembly:
Dundas.BI.Core (in Dundas.BI.Core.dll) Version: 2.0.0.0 (24.4.0.1000)
Syntax public void LogQueryStatement(
Func<string> getQueryStatement
)
Public Sub LogQueryStatement (
getQueryStatement As Func(Of String)
)
public:
void LogQueryStatement(
Func<String^>^ getQueryStatement
)
member LogQueryStatement :
getQueryStatement : Func<string> -> unit
Parameters
- getQueryStatement
- Type: SystemFuncString
The delegate that returns the query statement to be logged.
Remarks
The data provider need to call this method when the query is ready for execution and provide
a delegate that returns the query text and parameter values in human readable format.
See Also