DateTimeMetadata

Metadata for a Dataverse date and time column, including the date/time behavior (DateOnly, UserLocal, or TimeZoneIndependent).

DateTimeMetadata Class

Properties

Name
Type
Default
Description
ColumnNamestring
The logical name of the column in Dataverse (e.g. 'firstname', 'emailaddress1').
ColumnTypeColumnType
DateTime
Returns DateTime.
DateTimeBehaviorDateTimeBehavior
0
The date/time behavior: DateOnly, UserLocal, or TimeZoneIndependent.
Descriptionstring?
The localized description of the column, or null if no description is configured.
DisplayNamestring
The localized display name of the column as configured in Dataverse.
IsValidForCreatebool
False
Indicates whether this column can be set when creating a new record.
IsValidForUpdatebool
False
Indicates whether this column can be modified when updating an existing record.
RequiredLevelRequiredLevel
None
The required level of the column (None, SystemRequired, ApplicationRequired, or Recommended).
Name: ColumnName
Type: string
Description: The logical name of the column in Dataverse (e.g. 'firstname', 'emailaddress1').
Name: ColumnType
Type: ColumnType
Default: DateTime
Description: Returns DateTime.
Name: DateTimeBehavior
Type: DateTimeBehavior
Default: 0
Description: The date/time behavior: DateOnly, UserLocal, or TimeZoneIndependent.
Name: Description
Type: string?
Description: The localized description of the column, or null if no description is configured.
Name: DisplayName
Type: string
Description: The localized display name of the column as configured in Dataverse.
Name: IsValidForCreate
Type: bool
Default: False
Description: Indicates whether this column can be set when creating a new record.
Name: IsValidForUpdate
Type: bool
Default: False
Description: Indicates whether this column can be modified when updating an existing record.
Name: RequiredLevel
Type: RequiredLevel
Default: None
Description: The required level of the column (None, SystemRequired, ApplicationRequired, or Recommended).