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


IMapServer2.GetSQLSyntaxInfo Method (ArcObjects .NET 10.4 SDK)
ArcObjects Library Reference (Carto)  

IMapServer2.GetSQLSyntaxInfo Method

Returns the SQL syntax information for the specified layer.

[Visual Basic .NET]
Public Function GetSQLSyntaxInfo ( _
    ByVal MapName As String, _
    ByVal LayerID As Integer _
) As ISQLSyntaxInfo
[C#]
public ISQLSyntaxInfo GetSQLSyntaxInfo (
    string MapName,
    int LayerID
);
[C++]
HRESULT GetSQLSyntaxInfo(
  BSTR MapName,
  long LayerID,
  ISQLSyntaxInfo** sqlInfo
);
[C++]

Parameters MapName [in] MapName is a parameter of type BSTR LayerID [in] LayerID is a parameter of type long sqlInfo [out, retval]
sqlInfo is a parameter of type ISQLSyntaxInfo

Product Availability

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

Remarks

The members of the ISQLSyntaxInfo interface provide information regarding the SQL functionality for the DBMS underlying a map layer.

See Also

IMapServer2 Interface