SqlGeometry.STDimension Method ()


Returns the maximum dimension of a SqlGeometry instance.

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

No code example is currently available or this language may not be supported.

Return Value

Type: System.Data.SqlTypes.SqlInt32

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

Returns -1 if the SqlGeometry instance is empty.

Return to top