Share via


GeographyUnionAggregate Class

This API supports the SQL Server 2012 infrastructure and is not intended to be used directly from your code.

Represents a union of a set of SqlGeography objects.

Inheritance Hierarchy

System.Object
  Microsoft.SqlServer.Types.GeographyUnionAggregate

Namespace:  Microsoft.SqlServer.Types
Assembly:  Microsoft.SqlServer.Types (in Microsoft.SqlServer.Types.dll)

Syntax

'Declaration
<SerializableAttribute> _
<CLSCompliantAttribute(True)> _
<SqlUserDefinedAggregateAttribute(Format.UserDefined, IsInvariantToDuplicates := True,  _
    IsInvariantToNulls := True, IsInvariantToOrder := True,  _
    IsNullIfEmpty := False, MaxByteSize := )> _
Public Class GeographyUnionAggregate _
    Implements IBinarySerialize
'Usage
Dim instance As GeographyUnionAggregate
[SerializableAttribute]
[CLSCompliantAttribute(true)]
[SqlUserDefinedAggregateAttribute(Format.UserDefined, IsInvariantToDuplicates = true, 
    IsInvariantToNulls = true, IsInvariantToOrder = true, 
    IsNullIfEmpty = false, MaxByteSize = )]
public class GeographyUnionAggregate : IBinarySerialize
[SerializableAttribute]
[CLSCompliantAttribute(true)]
[SqlUserDefinedAggregateAttribute(Format::UserDefined, IsInvariantToDuplicates = true, 
    IsInvariantToNulls = true, IsInvariantToOrder = true, 
    IsNullIfEmpty = false, MaxByteSize = )]
public ref class GeographyUnionAggregate : IBinarySerialize
[<SerializableAttribute>]
[<CLSCompliantAttribute(true)>]
[<SqlUserDefinedAggregateAttribute(Format.UserDefined, IsInvariantToDuplicates = true, 
    IsInvariantToNulls = true, IsInvariantToOrder = true, 
    IsNullIfEmpty = false, MaxByteSize = )>]
type GeographyUnionAggregate =  
    class
        interface IBinarySerialize
    end
public class GeographyUnionAggregate implements IBinarySerialize

The GeographyUnionAggregate type exposes the following members.

Constructors

  Name Description
Public method GeographyUnionAggregate Infrastructure. Initializes a new instance of the GeographyUnionAggregate class.

Top

Methods

  Name Description
Public method Accumulate Infrastructure. Adds the given SqlGeography object into this geography union.
Public method Equals (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Public method GetHashCode (Inherited from Object.)
Public method GetType (Inherited from Object.)
Public method Init Infrastructure. Initializes the properties of a GeographyUnionAggregate instance.
Protected method MemberwiseClone (Inherited from Object.)
Public method Merge Infrastructure. Adds another GeographyUnionAggregate object into this geography union.
Public method Read Infrastructure. Reads a binary representation of a geography type into a SqlGeometry object.
Public method Terminate Infrastructure. Returns the SqlGeography object that represents this geography union.
Public method ToString (Inherited from Object.)
Public method Write Infrastructure. Writes a SqlGeography object to a binary stream.

Top

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

Microsoft.SqlServer.Types Namespace