Partager via


Classe GeographyCollectionAggregate

Cette API prend en charge l'infrastructure SQL Server 2012 et n'est pas destinée à être utilisée directement à partir de votre code.

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

Hiérarchie d'héritage

System.Object
  Microsoft.SqlServer.Types.GeographyCollectionAggregate

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

Syntaxe

'Déclaration
<SerializableAttribute> _
<SqlUserDefinedAggregateAttribute(Format.UserDefined, IsInvariantToDuplicates := True,  _
    IsInvariantToNulls := True, IsInvariantToOrder := True,  _
    IsNullIfEmpty := False, MaxByteSize := )> _
Public Class GeographyCollectionAggregate _
    Implements IBinarySerialize
'Utilisation
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

Le type GeographyCollectionAggregate expose les membres suivants.

Constructeurs

  Nom Description
Méthode publique GeographyCollectionAggregate Infrastructure. Initializes a new instance of GeographyCollectionAggregate class.

Haut de la page

Méthodes

  Nom Description
Méthode publique Accumulate Infrastructure. Adds the given SqlGeography object into this geography collection.
Méthode publique Equals (hérité de Object.)
Méthode protégée Finalize (hérité de Object.)
Méthode publique GetHashCode (hérité de Object.)
Méthode publique GetType (hérité de Object.)
Méthode publique Init Infrastructure. Initializes the properties of a GeographyCollectionAggregate object.
Méthode protégée MemberwiseClone (hérité de Object.)
Méthode publique Merge Infrastructure. Adds the given GeographyCollectionAggregate collection into this geography collection.
Méthode publique Read Infrastructure. Reads a binary representation of a geography type into a SqlGeometry object.
Méthode publique Terminate Infrastructure. Returns the SqlGeography object that represents the geography collection.
Méthode publique ToString (hérité de Object.)
Méthode publique Write Infrastructure. Writes a SqlGeography object to a binary stream.

Haut de la page

Sécurité des threads

Tous les membres publics static (Shared dans Visual Basic) de ce type sont thread-safe. Tous les membres de l'instance ne sont pas garantis comme étant thread-safe.

Voir aussi

Référence

Espace de noms Microsoft.SqlServer.Types