ArcGIS Pro 2.8 API Reference Guide
GetDefinition Method (RealtimeDatastore)

ArcGIS.Core.Data.Realtime Namespace > RealtimeDatastore Class : GetDefinition Method
The name of the dataset.
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 10, Windows 8.1

See Also

Reference

RealtimeDatastore Class
RealtimeDatastore Members