SqlGeography.Point 메서드

SQL Server 2012

Constructs a SqlGeography instance representing a Point instance from its x and y values and a spatial reference ID (SRID).

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

[SqlMethodAttribute(IsDeterministic = true, IsPrecise = false)]
public static SqlGeography Point(
	double latitude,
	double longitude,
	int srid
)

매개 변수

latitude
유형: System.Double
A double that represents the x-coordinate of the Point being generated.
longitude
유형: System.Double
A double that represents the y-coordinate of the Point being generated.
srid
유형: System.Int32
An int expression that represents the SRID of the geography instance you wish to return.

반환 값

유형: Microsoft.SqlServer.Types.SqlGeography
A SqlGeography instance constructed from the specified latitude, longitude, and SRID values.

커뮤니티 추가 항목

추가
표시: