Freigeben über


SqlGeometry.STNumInteriorRing-Methode

Returns the number of interior rings of a Polygon SqlGeometry instance.

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

Syntax

'Declaration
<SqlMethodAttribute(IsDeterministic := True, IsPrecise := True)> _
Public Function STNumInteriorRing As SqlInt32
'Usage
Dim instance As SqlGeometry 
Dim returnValue As SqlInt32 

returnValue = instance.STNumInteriorRing()
[SqlMethodAttribute(IsDeterministic = true, IsPrecise = true)]
public SqlInt32 STNumInteriorRing()
[SqlMethodAttribute(IsDeterministic = true, IsPrecise = true)]
public:
SqlInt32 STNumInteriorRing()
[<SqlMethodAttribute(IsDeterministic = true, IsPrecise = true)>]
member STNumInteriorRing : unit -> SqlInt32
public function STNumInteriorRing() : SqlInt32

Rückgabewert

Typ: System.Data.SqlTypes.SqlInt32
A SqlInt32 value that specifies the number of interior rings.

Hinweise

This method returns nullein NULL-Verweis (Nothing in Visual Basic) if the SqlGeometry instance is not a polygon.

Siehe auch

Verweis

SqlGeometry Klasse

Microsoft.SqlServer.Types-Namespace