SqlGeography.STContains 메서드
Specifies whether the calling SqlGeography instance spatially contains the SqlGeography instance passed to the method.
네임스페이스: Microsoft.SqlServer.Types
어셈블리: Microsoft.SqlServer.Types(Microsoft.SqlServer.Types.dll)
구문
‘선언
<SqlMethodAttribute(IsDeterministic := True, IsPrecise := False)> _
Public Function STContains ( _
other As SqlGeography _
) As SqlBoolean
‘사용 방법
Dim instance As SqlGeography
Dim other As SqlGeography
Dim returnValue As SqlBoolean
returnValue = instance.STContains(other)
[SqlMethodAttribute(IsDeterministic = true, IsPrecise = false)]
public SqlBoolean STContains(
SqlGeography other
)
[SqlMethodAttribute(IsDeterministic = true, IsPrecise = false)]
public:
SqlBoolean STContains(
SqlGeography^ other
)
[<SqlMethodAttribute(IsDeterministic = true, IsPrecise = false)>]
member STContains :
other:SqlGeography -> SqlBoolean
public function STContains(
other : SqlGeography
) : SqlBoolean
매개 변수
- other
유형: Microsoft.SqlServer.Types.SqlGeography
The SqlGeography instance to check if it is contained within the calling instance.
반환 값
유형: System.Data.SqlTypes.SqlBoolean
true if the calling instance contains the other instance; otherwise, false.
참고 항목
참조
Microsoft.SqlServer.Types 네임스페이스