GeographyCollectionAggregate Class

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

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

Inheritance Hierarchy

System.Object
  Microsoft.SqlServer.Types.GeographyCollectionAggregate

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

Syntax

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

The GeographyCollectionAggregate type exposes the following members.

Constructors

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

Top

Methods

  Name Description
Public method Accumulate Infrastructure. Adds the given SqlGeography object into this geography collection.
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 GeographyCollectionAggregate object.
Protected method MemberwiseClone (Inherited from Object.)
Public method Merge Infrastructure. Adds the given GeographyCollectionAggregate collection into this geography collection.
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 the geography collection.
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