共用方式為


EventHubProperties.RetentionTimeInDays Property

Definition

Gets or sets the retention time for device-to-cloud messages in days. See: https://docs.microsoft.com/azure/iot-hub/iot-hub-devguide-messaging#device-to-cloud-messages

[Newtonsoft.Json.JsonProperty(PropertyName="retentionTimeInDays")]
public long? RetentionTimeInDays { get; set; }
[<Newtonsoft.Json.JsonProperty(PropertyName="retentionTimeInDays")>]
member this.RetentionTimeInDays : Nullable<int64> with get, set
Public Property RetentionTimeInDays As Nullable(Of Long)

Property Value

Attributes
Newtonsoft.Json.JsonPropertyAttribute

Applies to