SqlGeometry.Point 메서드

SQL Server 2012

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

네임스페이스:  Microsoft.SqlServer.Types
어셈블리:  Microsoft.SqlServer.Types(Microsoft.SqlServer.Types.dll)

[SqlMethodAttribute(IsDeterministic = true, IsPrecise = false)]
public static SqlGeometry Point(
	double x,
	double y,
	int srid
)

매개 변수

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

반환 값

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

This member is static.

커뮤니티 추가 항목

추가
표시: