Nuta
Dostęp do tej strony wymaga autoryzacji. Możesz spróbować się zalogować lub zmienić katalog.
Dostęp do tej strony wymaga autoryzacji. Możesz spróbować zmienić katalogi.
Specifies whether the calling SqlGeography instance spatially contains the SqlGeography instance passed to the method.
Namespace: Microsoft.SqlServer.Types
Assembly: Microsoft.SqlServer.Types (in Microsoft.SqlServer.Types.dll)
Syntax
'Declaration
<SqlMethodAttribute(IsDeterministic := True, IsPrecise := False)> _
Public Function STContains ( _
other As SqlGeography _
) As SqlBoolean
'Usage
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
Parameters
- other
Type: Microsoft.SqlServer.Types.SqlGeography
The SqlGeography instance to check if it is contained within the calling instance.
Return Value
Type: System.Data.SqlTypes.SqlBoolean
true if the calling instance contains the other instance; otherwise, false.
See Also
Reference
Microsoft.SqlServer.Types Namespace