SqlGeometry.STDimension 方法 ()

 

返回 SqlGeometry 实例的最大维度。

命名空间:   Microsoft.SqlServer.Types
程序集:  Microsoft.SqlServer.Types(位于 Microsoft.SqlServer.Types.dll)

语法

[SqlMethodAttribute(IsDeterministic = true, IsPrecise = true)]
public SqlInt32 STDimension()
public:
[SqlMethodAttribute(IsDeterministic = true, IsPrecise = true)]
SqlInt32 STDimension()
[<SqlMethodAttribute(IsDeterministic = true, IsPrecise = true)>]
member STDimension : unit -> SqlInt32
<SqlMethodAttribute(IsDeterministic := True, IsPrecise := True)>
Public Function STDimension As SqlInt32

返回值

Type: System.Data.SqlTypes.SqlInt32

一个 SqlInt32 值,该值表示 SqlGeometry 的最大维度。

备注

如果返回-1 SqlGeometry 实例为空。

另请参阅

SqlGeometry 类
Microsoft.SqlServer.Types 命名空间

返回页首