SqlGeography.STMLineFromWKB(SqlBytes, Int32) Method

Definition

Returns a SqlGeography MultiLineString 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.SqlGeography STMLineFromWKB (System.Data.SqlTypes.SqlBytes wkbMultiLineString, int srid);
[<Microsoft.SqlServer.Server.SqlMethod(IsDeterministic=true, IsPrecise=true)>]
static member STMLineFromWKB : System.Data.SqlTypes.SqlBytes * int -> Microsoft.SqlServer.Types.SqlGeography
Public Shared Function STMLineFromWKB (wkbMultiLineString As SqlBytes, srid As Integer) As SqlGeography

Parameters

wkbMultiLineString
SqlBytes

The WKB representation of the SqlGeographyMultiLineString instance to return.

srid
Int32

An int expression that represents the Spatial Reference ID (SRID) of the SqlGeographyMultiLineString instance you wish to return.

Returns

A SqlGeography value constructed from the specified WKB representation.

Attributes

Applies to