HasM (geometry DataType)
**APPLIES TO:** ![yes](media/yes.png)SQL Server (starting with 2012) ![yes](media/yes.png)Azure SQL Database ![no](media/no.png)Azure SQL Data Warehouse ![no](media/no.png)Parallel Data Warehouse
Returns 1 (true) if a spatial object contains at least one M value; otherwise, it returns 0 (false).
Syntax
.HasM
Return Types
SQL Server return type: bit
CLR return type: Boolean
Examples
See Also
Extended Methods on Geometry Instances
M (geometry Data Type)