GeographyUnionAggregate 类

此 API 支持 SQL Server 2012 基础结构,但不能通过代码直接使用。

Represents a union of a set of SqlGeography objects.

继承层次结构

System.Object
  Microsoft.SqlServer.Types.GeographyUnionAggregate

命名空间:  Microsoft.SqlServer.Types
程序集:  Microsoft.SqlServer.Types(在 Microsoft.SqlServer.Types.dll 中)

语法

声明
<SerializableAttribute> _
<CLSCompliantAttribute(True)> _
<SqlUserDefinedAggregateAttribute(Format.UserDefined, IsInvariantToDuplicates := True,  _
    IsInvariantToNulls := True, IsInvariantToOrder := True,  _
    IsNullIfEmpty := False, MaxByteSize := )> _
Public Class GeographyUnionAggregate _
    Implements IBinarySerialize
用法
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

GeographyUnionAggregate 类型公开以下成员。

构造函数

  名称 说明
公共方法 GeographyUnionAggregate 基础结构。Initializes a new instance of the GeographyUnionAggregate class.

页首

方法

  名称 说明
公共方法 Accumulate 基础结构。Adds the given SqlGeography object into this geography union.
公共方法 Equals (从 Object 继承。)
受保护方法 Finalize (从 Object 继承。)
公共方法 GetHashCode (从 Object 继承。)
公共方法 GetType (从 Object 继承。)
公共方法 Init 基础结构。Initializes the properties of a GeographyUnionAggregate instance.
受保护方法 MemberwiseClone (从 Object 继承。)
公共方法 Merge 基础结构。Adds another GeographyUnionAggregate object into this geography union.
公共方法 Read 基础结构。Reads a binary representation of a geography type into a SqlGeometry object.
公共方法 Terminate 基础结构。Returns the SqlGeography object that represents this geography union.
公共方法 ToString (从 Object 继承。)
公共方法 Write 基础结构。Writes a SqlGeography object to a binary stream.

页首

线程安全

此类型的任何公共 static(在 Visual Basic 中为 Shared) 成员都是线程安全的。不保证所有实例成员都是线程安全的。

请参阅

参考

Microsoft.SqlServer.Types 命名空间