Session.EventRetentionMode Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.