This document is archived and information here might be outdated.  Recommended version.


ISQLCheck3.ValidateSQL Method (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Geodatabase > ESRI.ArcGIS.GeoDatabase > Interfaces > IS > ISQLCheck3 Interface > ISQLCheck3.ValidateSQL Method
ArcGIS Developer Help

ISQLCheck3.ValidateSQL Method

Validates a SQL clause.

[Visual Basic .NET]
Public Function ValidateSQL ( _
    ByVal Workspace As IWorkspace, _
    ByVal Table As ITable, _
    ByVal sourceSQL As String, _
    ByVal clauseType As esriSQLClauses, _
    ByRef columnReferences As IStringArray _
) As String
[C#]
public string ValidateSQL (
    IWorkspace Workspace,
    ITable Table,
    string sourceSQL,
    esriSQLClauses clauseType,
    ref IStringArray columnReferences
);
[C++]
HRESULT ValidateSQL(
  IWorkspace* Workspace,
  ITable* Table,
  BSTR sourceSQL,
  esriSQLClauses clauseType,
  IStringArray** columnReferences
);
[C++]
Parameters
Workspace [in]

Workspace is a parameter of type IWorkspace* Table [in]
Table is a parameter of type ITable* sourceSQL [in]
sourceSQL is a parameter of type BSTR clauseType [in]
clauseType is a parameter of type esriSQLClauses columnReferences [out]
columnReferences is a parameter of type IStringArray**

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

See Also

ISQLCheck3 Interface