Export (0) Print
Expand All
Expand Minimize

SqlGeometry.STDimension Method

Returns the maximum dimension of a SqlGeometry instance.

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

[<SqlMethodAttribute(IsDeterministic = true, IsPrecise = true)>]
member STDimension : unit -> SqlInt32

Return Value

Type: SqlInt32
A SqlInt32 value that represents the maximum dimension of the SqlGeometry.

Returns -1 if the SqlGeometry instance is empty.

Community Additions

© 2015 Microsoft