共用方式為


Eventhub.RetentionTimeInHour Property

Definition

Number of hours to retain the events for this Event Hub. This value is only used when cleanupPolicy is Delete. If cleanupPolicy is Compact the returned value of this property is Long.MaxValue

[Microsoft.Azure.PowerShell.Cmdlets.EventHub.Origin(Microsoft.Azure.PowerShell.Cmdlets.EventHub.PropertyOrigin.Inlined)]
public long? RetentionTimeInHour { get; set; }
[<Microsoft.Azure.PowerShell.Cmdlets.EventHub.Origin(Microsoft.Azure.PowerShell.Cmdlets.EventHub.PropertyOrigin.Inlined)>]
member this.RetentionTimeInHour : Nullable<int64> with get, set
Public Property RetentionTimeInHour As Nullable(Of Long)

Property Value

Implements

Attributes

Applies to