Share via


Microsoft.SqlServer.Types Namespace

The Microsoft.SqlServer.Types namespace contains classes used when working with the HierarchyID data type and the spatial data types, such as the geometry and geographic data types.

Classes

  Class Description
Public class GeographyCollectionAggregate Infrastructure. Represents a geography collection from the given set of SqlGeography objects.
Public class GeographyConvexHullAggregate Infrastructure. Represents the convex hull for the given set of SqlGeography objects.
Public class GeographyEnvelopeAggregate Infrastructure. Represents a geography envelope from the given set of SqlGeography objects.
Public class GeographyTessellationFunction Infrastructure. Represents the geography tessellation functions.
Public class GeographyUnionAggregate Infrastructure. Represents a union of a set of SqlGeography objects.
Public class GeometryCollectionAggregate Infrastructure. Represents a geometry collection from the given set of SqlGeometry objects.
Public class GeometryConvexHullAggregate Infrastructure. Represents the convex hull for the given set of SqlGeometry objects.
Public class GeometryEnvelopeAggregate Infrastructure. Represents a geometry envelope based on the given set of SqlGeometry objects.
Public class GeometryTessellationFunction Infrastructure. Provides static methods for creating a geometry tessellation.
Public class GeometryUnionAggregate Infrastructure. Represents a union from a set of SqlGeometry objects.
Public class HierarchyIdException The exception that is thrown for invalid SqlHierarchyId values.
Public class SpaceFillingCurve Infrastructure. Provides methods for calculating a space-filling curve.
Public class SpatialGridCoverage Infrastructure. Provides methods for obtaining a spatial grid coverage.
Public class SpatialTessellationFunction Infrastructure. Provides static methods for creating a spatial tessellation.
Public class SqlGeography The SqlGeography type represents data in a geodetic (round earth) coordinate system.
Public class SqlGeographyBuilder Constructs instances of SqlGeography objects by using IGeographySink interface.
Public class SqlGeometry The SqlGeometry type represents data in a Euclidean (flat) coordinate system.
Public class SqlGeometryBuilder Constructs instances of SqlGeometry objects by using IGeometrySink interface.

Structures

  Structure Description
Public structure SqlHierarchyId The SqlHierarchyId type represents a position in a hierarchical structure, specifying depth and breadth.

Interfaces

  Interface Description
Public interface IGeographySink Obsolete. Interface used by SqlGeographyBuilder to construct a SqlGeography object. This API is obsolete. IGeographySink110 should be used instead.
Public interface IGeographySink110 Defines the interface used by SqlGeographyBuilder to construct a SqlGeography object.
Public interface IGeometrySink Obsolete. Defines the interface that the SqlGeometryBuilder class uses to construct a SqlGeometryBuilder object. This API is obsolete. IGeometrySink110 should be used instead.
Public interface IGeometrySink110 Defines the interface used by SqlGeometryBuilder to construct a SqlGeometry object.
Public interface ISqlSpatialGridIndexable Infrastructure. Defines the interface that is implemented by SqlGeography and SqlGeometry type objects to support spatial indexing.

Enumerations

  Enumeration Description
Public enumeration OpenGisGeographyType Lists supported and extended Open GIS geography types.
Public enumeration OpenGisGeometryType Lists Open GIS geometry types.