Session.EventRetentionMode Property

Definition

Gets or sets the event retention mode.

[Microsoft.SqlServer.Management.Sdk.Sfc.Metadata.SfcProperty(Data=true)]
public Microsoft.SqlServer.Management.XEvent.Session.EventRetentionModeEnum EventRetentionMode { get; set; }
[<Microsoft.SqlServer.Management.Sdk.Sfc.Metadata.SfcProperty(Data=true)>]
member this.EventRetentionMode : Microsoft.SqlServer.Management.XEvent.Session.EventRetentionModeEnum with get, set
Public Property EventRetentionMode As Session.EventRetentionModeEnum

Property Value

The event retention mode.

Attributes

Exceptions

Set EventRetentionMode to an unknown value.

Applies to