Sdílet prostřednictvím


SpatialTessellationFunction.GetCoverage Method

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

Gets the grid coverage for the given object.

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

Syntax

'Declaration
Public Shared Function GetCoverage ( _
    obj As Object _
) As SqlGeometry
'Usage
Dim obj As Object
Dim returnValue As SqlGeometry

returnValue = SpatialTessellationFunction.GetCoverage(obj)
public static SqlGeometry GetCoverage(
    Object obj
)
public:
static SqlGeometry^ GetCoverage(
    Object^ obj
)
static member GetCoverage : 
        obj:Object -> SqlGeometry
public static function GetCoverage(
    obj : Object
) : SqlGeometry

Parameters

  • obj
    Type: System.Object
    The object to get the grid coverage from.

Return Value

Type: Microsoft.SqlServer.Types.SqlGeometry
The SqlGeometry object that represents the grid coverage for the given object.

See Also

Reference

SpatialTessellationFunction Class

Microsoft.SqlServer.Types Namespace