SqlGeography.STLineFromWKB(SqlBytes, Int32) Method

Definition

Returns a SqlGeography instance from an Open Geospatial Consortium (OGC) Well-Known Text (WKT) representation, augmented with any Z (elevation) and M (measure) values carried by the instance.

[Microsoft.SqlServer.Server.SqlMethod(IsDeterministic=true, IsPrecise=true)]
public static Microsoft.SqlServer.Types.SqlGeography STLineFromWKB (System.Data.SqlTypes.SqlBytes wkbLineString, int srid);
[<Microsoft.SqlServer.Server.SqlMethod(IsDeterministic=true, IsPrecise=true)>]
static member STLineFromWKB : System.Data.SqlTypes.SqlBytes * int -> Microsoft.SqlServer.Types.SqlGeography
Public Shared Function STLineFromWKB (wkbLineString As SqlBytes, srid As Integer) As SqlGeography

Parameters

wkbLineString
SqlBytes

The WKT representation of the SqlGeography LineString instance you wish to return.

srid
Int32

An int expression representing the Spatial Reference ID (SRID) of the SqlGeography LineString instance you wish to return.

Returns

A SqlGeography value constructed from the specified WKT representation.

Attributes

Applies to