GeographyCollectionAggregate Class

Definition

Represents a geography collection from the given set of SqlGeography objects.

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

Constructors

GeographyCollectionAggregate()

Initializes a new instance of GeographyCollectionAggregate class.

Methods

Accumulate(SqlGeography)

Adds the given SqlGeography object into this geography collection.

Init()

Initializes the properties of a GeographyCollectionAggregate object.

Merge(GeographyCollectionAggregate)

Adds the given GeographyCollectionAggregate collection into this geography collection.

Read(BinaryReader)

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

Terminate()

Returns the SqlGeography object that represents the geography collection.

Write(BinaryWriter)

Writes a SqlGeography object to a binary stream.

Applies to