Share via


SqlGeometry.MinDbCompatibilityLevel Method

Returns the minimum database compatibility that accepts the SqlGeometry type.

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

Syntax

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

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

Return Value

Type: System.Int32
The minimum database compatibility.

See Also

Reference

SqlGeometry Class

Microsoft.SqlServer.Types Namespace