Share via


SqlGeometry.STNumCurves Method

Returns the number of curves in a one-dimensional SqlGeometry 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 SqlGeometry
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

SqlGeometry Class

Microsoft.SqlServer.Types Namespace