次の方法で共有


SqlGeography.STDisjoint メソッド

呼び出し元の SqlGeography インスタンスが、指定した SqlGeography インスタンスと空間的に連結されていないかどうかを示します。

名前空間:  Microsoft.SqlServer.Types
アセンブリ:  Microsoft.SqlServer.Types (Microsoft.SqlServer.Types.dll)

構文

'宣言
<SqlMethodAttribute(IsDeterministic := True, IsPrecise := False)> _
Public Function STDisjoint ( _
    other As SqlGeography _
) As SqlBoolean
'使用
Dim instance As SqlGeography 
Dim other As SqlGeography 
Dim returnValue As SqlBoolean 

returnValue = instance.STDisjoint(other)
[SqlMethodAttribute(IsDeterministic = true, IsPrecise = false)]
public SqlBoolean STDisjoint(
    SqlGeography other
)
[SqlMethodAttribute(IsDeterministic = true, IsPrecise = false)]
public:
SqlBoolean STDisjoint(
    SqlGeography^ other
)
[<SqlMethodAttribute(IsDeterministic = true, IsPrecise = false)>]
member STDisjoint : 
        other:SqlGeography -> SqlBoolean
public function STDisjoint(
    other : SqlGeography
) : SqlBoolean

パラメーター

戻り値

型: System.Data.SqlTypes.SqlBoolean
SqlGeography インスタンスが、指定した SqlGeography と空間的に連結されていないかどうかを示す SqlBoolean 値です。インスタンスが空間的に連結されていない場合、このメソッドは true を返します。それ以外の場合は false です。

説明

比較する 2 つのインスタンスに含まれる地点のセットの交点が空である場合、これらの geography インスタンスは連結されていません。

SqlGeography インスタンスの SRID (spatial reference ID) が一致しない場合、このメソッドは常に null を返します。

関連項目

参照

SqlGeography クラス

Microsoft.SqlServer.Types 名前空間