| MGDatabaseSetup.KeyColumnType |
|
Gets or sets the data type of the database column containing the keys of map features.
Values can be: Boolean, Byte, Date, Decimal, Double, Float, Integer, Numeric, SmallInt, String, Time, TimeStamp, UnsignedByte, UnsignedInteger, or UnsignedSmallInt.
For compatibility with previous releases, this property also accepts the values Char, LongVarChar, Real, or VarChar.
We recommend that you do not use Float, Double, or Real types because of the inherent inaccuracies in comparing them.
This property returns an empty string if it does not apply. If modified successfully, it automatically sets the layer's rebuild flag to True. See Rebuild for details.
Note that for write operations, this property does not work during a busy state. For additional information, refer to "Handling Busy State and Map Refresh" chapter in the Autodesk MapGuide Developer's Guide.
String (read/write)
-1 (busy): For write operations only.
-15 (does not apply)
getKeyColumnType, setKeyColumnType