fHtmCoverRegionError(coverspec) returns diagnostic message appropriate for a bad region string or "OK" if there are no errors

Namespace: Spherical.Htm
Assembly: SphericalHtm (in SphericalHtm.dll) Version: 1.0.0.0

Syntax

C#
public static SqlString fHtmCoverRegionError(
	SqlString coverspec
)
Visual C++
public:
static SqlString fHtmCoverRegionError(
	SqlString coverspec
)
F#
static member fHtmCoverRegionError : 
        coverspec:SqlString -> SqlString 

Parameters

coverspec
Type: System.Data.SqlTypes..::..SqlString
a string satisfying the region syntax

Return Value

diagnostic message: varchar(max)
OK if ok
else message and a syntax string.

Examples

CopyC#
create function fHtmCoverRegionError(@region nvarchar(max)) 
        returns varchar(max)
             as external name HTM.Sql.fHtmCoverRegionError
print dbo.fHtmCoverRegionError('CIRCLE LATLON 195 ')

See Also