共用方式為


SqlGeography.STNumCurves 方法

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

命名空間:  Microsoft.SqlServer.Types
組件:  Microsoft.SqlServer.Types (在 Microsoft.SqlServer.Types.dll 中)

語法

'宣告
<SqlMethodAttribute(IsDeterministic := True, IsPrecise := True)> _
Public Function STNumCurves As SqlInt32
'用途
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

傳回值

型別:System.Data.SqlTypes.SqlInt32
The number of curves.

請參閱

參考

SqlGeography 類別

Microsoft.SqlServer.Types 命名空間

其他資源

STNumCurves (geography 資料類型)