SqlGeometry.STEnvelope Method

Returns the minimum axis-aligned bounding rectangle of the instance.

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

Syntax

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

returnValue = instance.STEnvelope()
[SqlMethodAttribute(IsDeterministic = true, IsPrecise = false)]
public SqlGeometry STEnvelope()
[SqlMethodAttribute(IsDeterministic = true, IsPrecise = false)]
public:
SqlGeometry^ STEnvelope()
[<SqlMethodAttribute(IsDeterministic = true, IsPrecise = false)>]
member STEnvelope : unit -> SqlGeometry
public function STEnvelope() : SqlGeometry

Return Value

Type: Microsoft.SqlServer.Types.SqlGeometry
A SqlGeometry object that represents the minimum axis-aligned bounding rectangle of the calling instance.

See Also

Reference

SqlGeometry Class

Microsoft.SqlServer.Types Namespace