SqlGeometry.STDifference 메서드

SQL Server 2012

Returns an object that represents the points from one SqlGeometry instance that do not lie within another SqlGeometry instance.

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

[SqlMethodAttribute(IsDeterministic = true, IsPrecise = false)]
public SqlGeometry STDifference(
	SqlGeometry other

매개 변수

유형: Microsoft.SqlServer.Types.SqlGeometry
The SqlGeometry instance indicating which points to remove from the instance on which STDifference is being invoked.

반환 값

유형: Microsoft.SqlServer.Types.SqlGeometry
A SqlGeometry object that represents the unique points in the calling SqlGeometry.

This method always returns null if the spatial reference IDs (SRIDs) of the SqlGeometry instances do not match.