SqlGeography.STNumCurves Method

Returns the number of curves in a one-dimensional SqlGeography instance.

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

Syntax

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

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

Return Value

Type: System.Data.SqlTypes.SqlInt32
The number of curves.

See Also

Reference

SqlGeography Class

Microsoft.SqlServer.Types Namespace

Other Resources

STNumCurves (geography Data Type)