Java.Sql.IStatement.SetEscapeProcessing Method
Sets Escape Processing mode.

Syntax

[Android.Runtime.Register("setEscapeProcessing", "(Z)V", "GetSetEscapeProcessing_ZHandler:Java.Sql.IStatementInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]
public void SetEscapeProcessing (bool enable)

Parameters

enable
true to set escape processing mode on, false to turn it off.

Exceptions

TypeReason
Java.Sql.SQLExceptionif an error occurs accessing the database.

Remarks

Sets Escape Processing mode.

If Escape Processing is on, the JDBC driver will do escape substitution on an SQL statement before sending it for execution. This does not apply to Java.Sql.IPreparedStatements since they are processed when created, before this method can be called.

[Android Documentation]

Requirements

Namespace: Java.Sql
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 1