Metoda SqlGeography.STMPolyFromWKB
Zwraca SqlGeography MultiPolygon wystąpienie z reprezentacji Otwórz konsorcjum geograficzne (OGC) dobrze binarny (WKB).
Przestrzeń nazw: Microsoft.SqlServer.Types
Zestaw: Microsoft.SqlServer.Types (w Microsoft.SqlServer.Types.dll)
Składnia
'Deklaracja
<SqlMethodAttribute(IsDeterministic := True, IsPrecise := True)> _
Public Shared Function STMPolyFromWKB ( _
wkbMultiPolygon As SqlBytes, _
srid As Integer _
) As SqlGeography
'Użycie
Dim wkbMultiPolygon As SqlBytes
Dim srid As Integer
Dim returnValue As SqlGeography
returnValue = SqlGeography.STMPolyFromWKB(wkbMultiPolygon, _
srid)
[SqlMethodAttribute(IsDeterministic = true, IsPrecise = true)]
public static SqlGeography STMPolyFromWKB(
SqlBytes wkbMultiPolygon,
int srid
)
[SqlMethodAttribute(IsDeterministic = true, IsPrecise = true)]
public:
static SqlGeography^ STMPolyFromWKB(
SqlBytes^ wkbMultiPolygon,
int srid
)
[<SqlMethodAttribute(IsDeterministic = true, IsPrecise = true)>]
static member STMPolyFromWKB :
wkbMultiPolygon:SqlBytes *
srid:int -> SqlGeography
public static function STMPolyFromWKB(
wkbMultiPolygon : SqlBytes,
srid : int
) : SqlGeography
Parametry
- wkbMultiPolygon
Typ: System.Data.SqlTypes.SqlBytes
The WKB representation of the SqlGeographyMultiPolygon instance you wish to return.
- srid
Typ: System.Int32
An int expression that represents the Spatial Reference ID (SRID) of the SqlGeographyMultiPolygon instance you wish to return.
Wartość zwracana
Typ: Microsoft.SqlServer.Types.SqlGeography
A SqlGeography wartość skonstruowana z określonego reprezentacja WKB.