语言

SqlGeometry.STIsValid 方法

定义

确定实例的格式是否正确 SqlGeometry 。

[Microsoft.SqlServer.Server.SqlMethod(IsDeterministic=true, IsPrecise=false)]
public System.Data.SqlTypes.SqlBoolean STIsValid();
[<Microsoft.SqlServer.Server.SqlMethod(IsDeterministic=true, IsPrecise=false)>]
member this.STIsValid : unit -> System.Data.SqlTypes.SqlBoolean
Public Function STIsValid () As SqlBoolean

返回

如果实例 SqlGeometry 格式正确,则根据实例的开放地理空间联盟 (OGC) 类型返回 true。 如果 SqlGeometry 实例格式不正确,则返回 false。

属性

适用于