ArcGIS Pro 3.3 API Reference Guide
ArcGIS.Core.Data Namespace / QueryDescription Class / GetSRID Method

In This Topic
    GetSRID Method
    In This Topic
    Gets the spatial reference ID of the resultset. This method must be called on the MCT. Use QueuedTask.Run.
    Syntax
    public string GetSRID()
    Public Function GetSRID() As String

    Return Value

    The spatial reference ID of the resultset.
    Exceptions
    ExceptionDescription
    A database-related exception has occurred.
    Remarks
    If GetShapeField returns an empty string, calling this method will cause an exception.
    Requirements

    Target Platforms: Windows 11, Windows 10

    ArcGIS Pro version: 3 or higher.
    See Also