Partager via


SqlGeography.STGeometryType, méthode ()

 

Retourne le nom de type OGC (Open Geospatial Consortium) représenté par une instance géographique.

Espace de noms:   Microsoft.SqlServer.Types
Assembly:  Microsoft.SqlServer.Types (dans Microsoft.SqlServer.Types.dll)

Syntaxe

[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

Valeur de retour

Type: System.Data.SqlTypes.SqlString

Valeur SqlString qui contient le nom du type OGC.

Notes

Les noms de type OGC qui peuvent être retournées par la STGeometryType méthode sont Point, LineString, Polygon, GeometryCollection, MultiPoint, MultiLineString et MultiPolygon.

Voir aussi

SqlGeography, classe
Microsoft.SqlServer.Types, espace de noms

Retour au début