SqlGeography.STDimension Method

Returns the maximum dimension of a SqlGeography instance

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

Syntax

'Declaration
<SqlMethodAttribute(IsDeterministic := True, IsPrecise := True)> _
Public Function STDimension As SqlInt32
'Usage
Dim instance As SqlGeography
Dim returnValue As SqlInt32

returnValue = instance.STDimension()
[SqlMethodAttribute(IsDeterministic = true, IsPrecise = true)]
public SqlInt32 STDimension()
[SqlMethodAttribute(IsDeterministic = true, IsPrecise = true)]
public:
SqlInt32 STDimension()
[<SqlMethodAttribute(IsDeterministic = true, IsPrecise = true)>]
member STDimension : unit -> SqlInt32
public function STDimension() : SqlInt32

Return Value

Type: System.Data.SqlTypes.SqlInt32
A SqlInt32 value that contains the maximum dimension of the calling SqlGeography instance.

See Also

Reference

SqlGeography Class

Microsoft.SqlServer.Types Namespace