Export (0) Print
Expand All
Expand Minimize
This topic has not yet been rated - Rate this topic

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)]
public 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.

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

© 2014 Microsoft. All rights reserved.