Метод SqlGeometry.STAsBinary
Returns the Open Geospatial Consortium (OGC) Well-Known Binary (WKB) representation of a SqlGeometry instance. This value will not contain any Z or M values carried by the instance.
Пространство имен: Microsoft.SqlServer.Types
Сборка: Microsoft.SqlServer.Types (в Microsoft.SqlServer.Types.dll)
Синтаксис
'Декларация
<SqlMethodAttribute(IsDeterministic := True, IsPrecise := True)> _
Public Function STAsBinary As SqlBytes
'Применение
Dim instance As SqlGeometry
Dim returnValue As SqlBytes
returnValue = instance.STAsBinary()
[SqlMethodAttribute(IsDeterministic = true, IsPrecise = true)]
public SqlBytes STAsBinary()
[SqlMethodAttribute(IsDeterministic = true, IsPrecise = true)]
public:
SqlBytes^ STAsBinary()
[<SqlMethodAttribute(IsDeterministic = true, IsPrecise = true)>]
member STAsBinary : unit -> SqlBytes
public function STAsBinary() : SqlBytes
Возвращаемое значение
Тип: System.Data.SqlTypes.SqlBytes
A SqlBytes object containing the WKB representation of the SqlGeometry.