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.

참고 항목

참조

SqlGeography 클래스

Microsoft.SqlServer.Types 네임스페이스

관련 자료

STIsValid(geography 데이터 형식)