GeographyUnionAggregate Class

Definition

Represents a union of a set of SqlGeography objects.

[Microsoft.SqlServer.Server.SqlUserDefinedAggregate(Microsoft.SqlServer.Server.Format.UserDefined, IsInvariantToDuplicates=true, IsInvariantToNulls=true, IsInvariantToOrder=true, IsNullIfEmpty=false, MaxByteSize=-1)]
[System.CLSCompliant(true)]
[System.Serializable]
public class GeographyUnionAggregate : Microsoft.SqlServer.Server.IBinarySerialize
[<Microsoft.SqlServer.Server.SqlUserDefinedAggregate(Microsoft.SqlServer.Server.Format.UserDefined, IsInvariantToDuplicates=true, IsInvariantToNulls=true, IsInvariantToOrder=true, IsNullIfEmpty=false, MaxByteSize=-1)>]
[<System.CLSCompliant(true)>]
[<System.Serializable>]
type GeographyUnionAggregate = class
    interface IBinarySerialize
Public Class GeographyUnionAggregate
Implements IBinarySerialize
Inheritance
GeographyUnionAggregate
Attributes
Implements

Constructors

GeographyUnionAggregate()

Initializes a new instance of the GeographyUnionAggregate class.

Methods

Accumulate(SqlGeography)

Adds the given SqlGeography object into this geography union.

Init()

Initializes the properties of a GeographyUnionAggregate instance.

Merge(GeographyUnionAggregate)

Adds another GeographyUnionAggregate object into this geography union.

Read(BinaryReader)

Reads a binary representation of a geography type into a SqlGeometry object.

Terminate()

Returns the SqlGeography object that represents this geography union.

Write(BinaryWriter)

Writes a SqlGeography object to a binary stream.

Applies to