Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

SqlGeometry.Point Method

Constructs a SqlGeometry instance that represents a Point instance from its X and Y values and an SRID.

Namespace:  Microsoft.SqlServer.Types
Assembly:  Microsoft.SqlServer.Types (in Microsoft.SqlServer.Types.dll)

[<SqlMethodAttribute(IsDeterministic = true, IsPrecise = false)>]
static member Point : 
        x:float * 
        y:float * 
        srid:int -> SqlGeometry

Parameters

x
Type: Double
A double that represents the X-coordinate of the Point being generated.
y
Type: Double
A double that represents the Y-coordinate of the Point being generated.
srid
Type: Int32
An int expression that represents the spatial reference ID (SRID) of the SqlGeometry instance you wish to return.

Return Value

Type: Microsoft.SqlServer.Types.SqlGeometry
A SqlGeometry instance that represents a point on a Euclidian coordinate system.

This member is static.

Community Additions

Show:
© 2015 Microsoft