STUnion 方法
Returns an object representing the union of a SqlGeography instance with another SqlGeography instance.
命名空间: 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
The SqlGeography instance to form a union with the instance on which STUnion is being invoked.
返回值
类型:Microsoft.SqlServer.Types. . :: . .SqlGeography
A SqlGeography object representing the union of the SqlGeography objects.
注释
This method always returns null if the Spatial Reference Identifiers (SRIDs) of the SqlGeography instances do not match.