ArcObjects Library Reference  (Carto)    

IMapServer2.GetSQLSyntaxInfo Method

Returns the SQL syntax information for the specified layer.

[Visual Basic 6.0]
Function GetSQLSyntaxInfo(
    ByVal MapName As String, _
    ByVal LayerID As Long _
) As ISQLSyntaxInfo
[Visual Basic .NET]
Public Function GetSQLSyntaxInfo ( _
    ByVal MapName As String, _
    ByVal LayerID As Integer _
) As ISQLSyntaxInfo
[C#]
public ISQLSyntaxInfo GetSQLSyntaxInfo (
    string MapName,
    int LayerID
);
[Java]
public ISQLSyntaxInfo getSQLSyntaxInfo (
    String MapName,
    int LayerID
)
throws
    IOException,
    AutomationException
[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