SqlGeography.STGeometryType Method

Definition

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

[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 name.

Attributes

Applies to