Share via


SqlGeometry.STGeometryType Method

Definition

Returns the Open Geospatial Consortium (OGC) type name represented by a geometry instance. SqlGeometry

[Microsoft.SqlServer.Server.SqlMethod(IsDeterministic=true, IsPrecise=true)]
public System.Data.SqlTypes.SqlString STGeometryType ();
[<Microsoft.SqlServer.Server.SqlMethod(IsDeterministic=true, IsPrecise=true)>]
member this.STGeometryType : unit -> System.Data.SqlTypes.SqlString
Public Function STGeometryType () As SqlString

Returns

A SqlString value containing the OGC type.

Attributes

Applies to