Autodesk 15607-010000-5000A Benutzerhandbuch

Seite von 180
MGDwgDataSources Object
|
105
Parameters
none
Return Values
String – Represents the SQL WHERE clause.
Error Codes
-15 (DoesNotApply)
See Also
setSQLWhereClause, SQLWhereClause
setSQLWhereClause Method
Syntax
boolean setSQLWhereClause(String sqlWhereClause)
Description
Sets the SQL WHERE clause for layers that are created from DWG data. This 
method sets the SQL WHERE clause only for polyline, polygon, and point 
layers created from DWG data. It does not set the SQL WHERE clause for 
Autodesk DWG layers.
SQL WHERE clauses can only be applied to secondary tables.
For more information about using secondary tables as the source for SQL 
WHERE clauses, see Step 9 under “Accessing Data Using a Link Template” on 
page 20.
Parameters
sqlWhereClause – String representing the name of the SQL WHERE clause.
Return Values
boolean – Specifies whether or not the SQL WHERE clause is successfully set.
True – Indicates that the SQL WHERE clause has been set successfully.