Partilhar via


Namespace Microsoft.SqlServer.Types

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

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

Estruturas

  Estrutura Descrição
Estrutura pública SqlHierarchyId The SqlHierarchyId type represents a position in a hierarchical structure, specifying depth and breadth.

Interfaces

  Interface Descrição
Interface pública IGeographySink Obsoleto. Interface used by SqlGeographyBuilder to construct a SqlGeography object. This API is obsolete. IGeographySink110 should be used instead.
Interface pública IGeographySink110 Defines the interface used by SqlGeographyBuilder to construct a SqlGeography object.
Interface pública IGeometrySink Obsoleto. Defines the interface that the SqlGeometryBuilder class uses to construct a SqlGeometryBuilder object. This API is obsolete. IGeometrySink110 should be used instead.
Interface pública IGeometrySink110 Defines the interface used by SqlGeometryBuilder to construct a SqlGeometry object.
Interface pública ISqlSpatialGridIndexable Infraestrutura. Defines the interface that is implemented by SqlGeography and SqlGeometry type objects to support spatial indexing.

Enumerações

  Enumeração Descrição
Enumeração pública OpenGisGeographyType Lists supported and extended Open GIS geography types.
Enumeração pública OpenGisGeometryType Lists Open GIS geometry types.