Share via


IGeographySink.SetSrid Method

Sets the Spatial Reference Identifier (SRID) for a geography type call sequence. This API is obsolete. IGeographySink110 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 IGeographySink
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 geography type.

See Also

Reference

IGeographySink Interface

Microsoft.SqlServer.Types Namespace