SqlGeometry.STIsValid 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
确定实例的格式是否正确 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。
- 属性