Share via


IGeometrySink.SetSrid Method

Sets the Spatial Reference Identifier (SRID) for a geometry type call sequence. This API is obsolete. IGeometrySink110 should be used instead.

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

Syntax

'Declaration
Sub SetSrid ( _
    srid As Integer _
)
'Usage
Dim instance As IGeometrySink
Dim srid As Integer

instance.SetSrid(srid)
void SetSrid(
    int srid
)
void SetSrid(
    int srid
)
abstract SetSrid : 
        srid:int -> unit 
function SetSrid(
    srid : int
)

Parameters

  • srid
    Type: System.Int32
    An int that contains the Spatial Reference Identifier for the geometry type.

See Also

Reference

IGeometrySink Interface

Microsoft.SqlServer.Types Namespace