SqlGeography.STAsBinary 方法
Returns the Open Geospatial Consortium (OGC) Well-Known Binary (WKB) representation of a SqlGeography instance.
命名空間: Microsoft.SqlServer.Types
組件: Microsoft.SqlServer.Types (在 Microsoft.SqlServer.Types.dll 中)
語法
'宣告
<SqlMethodAttribute(IsDeterministic := True, IsPrecise := True)> _
Public Function STAsBinary As SqlBytes
'用途
Dim instance As SqlGeography
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 value containing the WKB representation of the calling SqlGeography.
備註
This value will not contain any Z or M values carried by the instance.