SqlGeography.STIsValid 方法
Specifies whether a geography instance is well-formed and recognized as a valid geography object based on its Open Geospatial Consortium (OGC) type.
命名空間: Microsoft.SqlServer.Types
組件: Microsoft.SqlServer.Types (在 Microsoft.SqlServer.Types.dll 中)
語法
'宣告
<SqlMethodAttribute(IsDeterministic := True, IsPrecise := False)> _
Public Function STIsValid As SqlBoolean
'用途
Dim instance As SqlGeography
Dim returnValue As SqlBoolean
returnValue = instance.STIsValid()
[SqlMethodAttribute(IsDeterministic = true, IsPrecise = false)]
public SqlBoolean STIsValid()
[SqlMethodAttribute(IsDeterministic = true, IsPrecise = false)]
public:
SqlBoolean STIsValid()
[<SqlMethodAttribute(IsDeterministic = true, IsPrecise = false)>]
member STIsValid : unit -> SqlBoolean
public function STIsValid() : SqlBoolean
傳回值
型別:System.Data.SqlTypes.SqlBoolean
true if the geography instance is well-formed and valid; otherwise, false.
請參閱
參考
Microsoft.SqlServer.Types 命名空間