SqlGeometry.STLineFromWKB(SqlBytes, Int32) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Returns a SqlGeometry LineString instance from an Open Geospatial Consortium (OGC) Well-Known Binary (WKB) representation.
[Microsoft.SqlServer.Server.SqlMethod(IsDeterministic=true, IsPrecise=true)]
public static Microsoft.SqlServer.Types.SqlGeometry 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.SqlGeometry
Public Shared Function STLineFromWKB (wkbLineString As SqlBytes, srid As Integer) As SqlGeometry
Parameters
- wkbLineString
- SqlBytes
The WKB representation of the SqlGeometryLineString instance you wish to return.
- srid
- Int32
Is an int expression that represents the spatial reference ID (SRID) of the SqlGeometryLineString instance you wish to return.
Returns
A SqlGeometry object constructed from the specified WKB representation.
- Attributes