任意の SqlGeography インスタンスと別の SqlGeography インスタンスとの和集合を表すオブジェクトを返します。
名前空間: Microsoft.SqlServer.Types
アセンブリ: Microsoft.SqlServer.Types (Microsoft.SqlServer.Types.dll)
構文
'宣言
<SqlMethodAttribute(IsDeterministic := True, IsPrecise := False)> _
Public Function STUnion ( _
other As SqlGeography _
) As SqlGeography
'使用
Dim instance As SqlGeography
Dim other As SqlGeography
Dim returnValue As SqlGeography
returnValue = instance.STUnion(other)
[SqlMethodAttribute(IsDeterministic = true, IsPrecise = false)]
public SqlGeography STUnion(
SqlGeography other
)
[SqlMethodAttribute(IsDeterministic = true, IsPrecise = false)]
public:
SqlGeography^ STUnion(
SqlGeography^ other
)
[<SqlMethodAttribute(IsDeterministic = true, IsPrecise = false)>]
member STUnion :
other:SqlGeography -> SqlGeography
public function STUnion(
other : SqlGeography
) : SqlGeography
パラメーター
- other
型: Microsoft.SqlServer.Types.SqlGeography
STUnion を呼び出したインスタンスとの和集合を形成する、別の SqlGeography インスタンスです。
戻り値
型: Microsoft.SqlServer.Types.SqlGeography
2 つの SqlGeography オブジェクトの和集合を表す SqlGeography オブジェクトです。
説明
2 つの SqlGeography インスタンスの SRID (Spatial Reference ID) が一致しない場合、このメソッドは常に null を返します。