Partager via


Méthode STUnion

Returns an object that represents the union of a SqlGeometry instance with another SqlGeometry instance.

Espace de noms :  Microsoft.SqlServer.Types
Assembly :  Microsoft.SqlServer.Types (en Microsoft.SqlServer.Types.dll)

Syntaxe

'Déclaration
<SqlMethodAttribute(IsDeterministic := True, IsPrecise := False)> _
Public Function STUnion ( _
    other As SqlGeometry _
) As SqlGeometry
'Utilisation
Dim instance As SqlGeometry
Dim other As SqlGeometry
Dim returnValue As SqlGeometry

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

Paramètres

Valeur de retour

Type : Microsoft.SqlServer.Types. . :: . .SqlGeometry
A SqlGeometry object that represents the union of the calling SqlGeometry and the specified SqlGeometry.

Notes

This method always returns null Nothing nullptr unit une référence Null (Nothing dans Visual Basic) if the spatial reference IDs (SRIDs) of the SqlGeometry instances do not match.