# Microsoft.SqlServer.Types Namespace

Important

Some information relates to prerelease product that may be substantially modified before itâ€™s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.

## Classes

GeographyCollectionAggregate |
Represents a geography collection from the given set of SqlGeography objects. |

GeographyConvexHullAggregate |
Represents the convex hull for the given set of SqlGeography objects. |

GeographyEnvelopeAggregate |
Represents a geography envelope from the given set of SqlGeography objects. |

GeographyTessellationFunction |
Represents the geography tessellation functions. |

GeographyUnionAggregate |
Represents a union of a set of SqlGeography objects. |

GeometryCollectionAggregate |
Represents a geometry collection from the given set of SqlGeometry objects. |

GeometryConvexHullAggregate |
Represents the convex hull for the given set of SqlGeometry objects. |

GeometryEnvelopeAggregate |
Represents a geometry envelope based on the given set of SqlGeometry objects. |

GeometryTessellationFunction |
Provides static methods for creating a geometry tessellation. |

GeometryUnionAggregate |
Represents a union from a set of SqlGeometry objects. |

HierarchyIdException |
The exception that is thrown for invalid SqlHierarchyId values. |

SpaceFillingCurve |
Provides methods for calculating a space-filling curve. |

SpatialGridCoverage |
Provides methods for obtaining a spatial grid coverage. |

SpatialTessellationFunction |
Provides static methods for creating a spatial tessellation. |

SqlGeography |
The SqlGeography type represents data in a geodetic (round earth) coordinate system. |

SqlGeographyBuilder |
Constructs instances of SqlGeography objects by using IGeographySink interface. |

SqlGeometry |
The SqlGeometry type represents data in a Euclidean (flat) coordinate system. |

SqlGeometryBuilder |
Constructs instances of SqlGeometry objects by using IGeometrySink interface. |

## Structs

SqlHierarchyId |
The SqlHierarchyId type represents a position in a hierarchical structure, specifying depth and breadth. |

## Interfaces

IGeographySink |
Interface used by SqlGeographyBuilder to construct a SqlGeography object. This API is obsolete. IGeographySink110 should be used instead. |

IGeographySink110 |
Defines the interface used by SqlGeographyBuilder to construct a SqlGeography object. |

IGeometrySink |
Defines the interface that the SqlGeometryBuilder class uses to construct a SqlGeometryBuilderobject. This API is obsolete. IGeometrySink110 should be used instead. |

IGeometrySink110 |
Defines the interface used by SqlGeometryBuilder to construct a SqlGeometry object. |

ISqlSpatialGridIndexable |
Defines the interface that is implemented by SqlGeography and SqlGeometry type objects to support spatial indexing. |

## Enums

OpenGisGeographyType |
Lists supported and extended Open GIS geography types. |

OpenGisGeometryType |
Lists Open GIS geometry types. |

ValidityState |