CreateIndexRequestExpireAfter Property |
Gets or sets when documents in a TTL collection expire.
Namespace:
MongoDB.Driver.Core.Operations
Assembly:
MongoDB.Driver.Core (in MongoDB.Driver.Core.dll) Version: 2.15.0+f503bf610759c13f78cff9a3c01e91453185d2ed
Syntax public TimeSpan? ExpireAfter { get; set; }
Public Property ExpireAfter As TimeSpan?
Get
Set
member ExpireAfter : Nullable<TimeSpan> with get, set
Property Value
Type:
NullableTimeSpan
When documents in a TTL collection expire.
See Also