Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

SqlGeometry.STDimension Method ()

 

Applies To: SQL Server 2016 Preview

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.

Return to top
Show:
© 2015 Microsoft