Microsoft.SqlServer.Types Namespace
SQL Server 2008 R2
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.
| Class | Description | |
|---|---|---|
|
HierarchyIdException | The exception that is thrown for invalid SqlHierarchyId values. |
|
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. |
| Structure | Description | |
|---|---|---|
|
SqlHierarchyId | The SqlHierarchyId type represents a position in a hierarchical structure, specifying depth and breadth. |
| Interface | Description | |
|---|---|---|
|
IGeographySink | Interface used by SqlGeographyBuilder to construct a SqlGeography object. |
|
IGeometrySink | Defines the interface that the SqlGeometryBuilder class uses to construct a SqlGeometryBuilder object. |
| Enumeration | Description | |
|---|---|---|
|
OpenGisGeographyType | Lists Open GIS geography types. |
|
OpenGisGeometryType | Lists Open GIS geometry types. |
I can't see the dll in the folder path provided
Hi I have Igeography property in my class but it's giving me an error that namespace could not be found so I searched. I can;t find it in the folder you suggested (C:\Program Files\Microsoft SQL Server\100\SDK\Assemblies). The nearest dll after .SString is Microsoft.SqlServer.TxScript. No Microsoft.SqlServer.Type.
I am using sql server 2008 r2. what am I missing? thanks
Nevermind. FOund it in here C:\Program Files (x86)\Microsoft SQL Server\100\SDK\Assemblies
I am using sql server 2008 r2. what am I missing? thanks
Nevermind. FOund it in here C:\Program Files (x86)\Microsoft SQL Server\100\SDK\Assemblies
- 5/6/2012
- cs_starter
- 5/6/2012
- cs_starter
@Brian
You should find it in the GAC (%windir%\assembly) and in %programfiles%\Microsoft SQL Server\100\SDK\Assemblies. The file is Microsoft.SqlServer.Types.dll.
- 8/30/2011
- Marco Mariotti
- 8/30/2011
- Marco Mariotti
How about telling us which dll contains this namespace?
How about telling us which dll contains this namespace?
- 7/1/2011
- Brian60659