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.

참고 항목

참조

SqlGeography 클래스

Microsoft.SqlServer.Types 네임스페이스