你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

IEventhub.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.Runtime.Info(Description="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 ", PossibleTypes=new System.Type[] { typeof(System.Int64) }, ReadOnly=false, Required=false, SerializedName="retentionTimeInHours")]
public long? RetentionTimeInHour { get; set; }
[<Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Info(Description="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 ", PossibleTypes=new System.Type[] { typeof(System.Int64) }, ReadOnly=false, Required=false, SerializedName="retentionTimeInHours")>]
member this.RetentionTimeInHour : Nullable<int64> with get, set
Public Property RetentionTimeInHour As Nullable(Of Long)

Property Value

Attributes

Applies to