ArcGIS Pro 3.4 API Reference Guide
ArcGIS.Core.Data.Realtime Namespace / RealtimeDatastore Class / GetDefinition Method
The name of the dataset.

In This Topic
    GetDefinition Method (RealtimeDatastore)
    In This Topic
    Gets a ArcGIS.Core.Data.TableDefinition instance associated with name in the real-time data store. This method must be called on the MCT. Use QueuedTask.Run.
    Syntax
    public TableDefinition GetDefinition( 
       string name
    )
    Public Function GetDefinition( _
       ByVal name As String _
    ) As TableDefinition

    Parameters

    name
    The name of the dataset.

    Return Value

    Exceptions
    ExceptionDescription
    Could not get the definition for the dataset '{0}'. Please make sure a valid realtime data store has been opened first.
    name The argument cannot be null or an empty string.
    name does not exist or cannot be opened in the data store.
    A geodatabase-related exception has occurred.
    This method or property must be called within the lambda passed to QueuedTask.Run.
    Requirements

    Target Platforms: Windows 11, Windows 10

    ArcGIS Pro version: 3 or higher.
    See Also