Share via


SqlGeography.STGeometryType (Método) ()

 

Devuelve el nombre del tipo de Open Geospatial Consortium (OGC) representado por una instancia de Geography.

Espacio de nombres:   Microsoft.SqlServer.Types
Ensamblado:  Microsoft.SqlServer.Types (en Microsoft.SqlServer.Types.dll)

Sintaxis

[SqlMethodAttribute(IsDeterministic = true, IsPrecise = true)]
public SqlString STGeometryType()
public:
[SqlMethodAttribute(IsDeterministic = true, IsPrecise = true)]
SqlString STGeometryType()
[<SqlMethodAttribute(IsDeterministic = true, IsPrecise = true)>]
member STGeometryType : unit -> SqlString
<SqlMethodAttribute(IsDeterministic := True, IsPrecise := True)>
Public Function STGeometryType As SqlString

Valor devuelto

Type: System.Data.SqlTypes.SqlString

Valor SqlString que contiene el nombre del tipo de OGC.

Comentarios

Los nombres de tipo OGC que pueden devolver el STGeometryType método están a punto, LineString, Polygon, GeometryCollection, MultiPoint, MultiLineString y MultiPolygon.

Vea también

SqlGeography (Clase)
Microsoft.SqlServer.Types (Espacio de nombres)

Volver al principio