SqlGeography.STIntersection Method

Returns an object representing the points where a SqlGeography instance intersects another SqlGeography instance.

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

Syntax

'Declaration
<SqlMethodAttribute(IsDeterministic := True, IsPrecise := False)> _
Public Function STIntersection ( _
    other As SqlGeography _
) As SqlGeography
'Usage
Dim instance As SqlGeography
Dim other As SqlGeography
Dim returnValue As SqlGeography

returnValue = instance.STIntersection(other)
[SqlMethodAttribute(IsDeterministic = true, IsPrecise = false)]
public SqlGeography STIntersection(
    SqlGeography other
)
[SqlMethodAttribute(IsDeterministic = true, IsPrecise = false)]
public:
SqlGeography^ STIntersection(
    SqlGeography^ other
)
[<SqlMethodAttribute(IsDeterministic = true, IsPrecise = false)>]
member STIntersection : 
        other:SqlGeography -> SqlGeography 
public function STIntersection(
    other : SqlGeography
) : SqlGeography

Parameters

Return Value

Type: Microsoft.SqlServer.Types.SqlGeography
A SqlGeography value containing the points where the specified SqlGeography instance intersects the current SqlGeography instance.