SqlGeometry::STDimension Method ()

 

Returns the maximum dimension of a SqlGeometry instance.

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

public:
[SqlMethodAttribute(IsDeterministic = true, IsPrecise = true)]
SqlInt32 STDimension()

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
Show: