Partager via


SqlGeography.STAsBinary, méthode ()

 

Retourne la représentation OGC (Open Geospatial Consortium) WKB (Well-Known Binary) d'une instance SqlGeography.

Espace de noms:   Microsoft.SqlServer.Types
Assembly:  Microsoft.SqlServer.Types (dans Microsoft.SqlServer.Types.dll)

Syntaxe

[SqlMethodAttribute(IsDeterministic = true, IsPrecise = true)]
public SqlBytes STAsBinary()
public:
[SqlMethodAttribute(IsDeterministic = true, IsPrecise = true)]
SqlBytes^ STAsBinary()
[<SqlMethodAttribute(IsDeterministic = true, IsPrecise = true)>]
member STAsBinary : unit -> SqlBytes
<SqlMethodAttribute(IsDeterministic := True, IsPrecise := True)>
Public Function STAsBinary As SqlBytes

Valeur de retour

Type: System.Data.SqlTypes.SqlBytes

Valeur SqlBytes qui contient la représentation WKB du SqlGeography appelant.

Notes

Cette valeur ne contiendra aucune valeur Z ou M apportée par l'instance.

Voir aussi

SqlGeography, classe
Microsoft.SqlServer.Types, espace de noms

Retour au début