共用方式為


Catalog.OperationLogRetentionTime Property

Definition

Gets or sets the retention period for the operation logs.

public:
 property int OperationLogRetentionTime { int get(); void set(int value); };
[Microsoft.SqlServer.Management.Sdk.Sfc.DisplayCategoryKey("Catalog_OperationsLog")]
[Microsoft.SqlServer.Management.Sdk.Sfc.DisplayDescriptionKey("Catalog_OperationLogRetentionTimeDesc")]
[Microsoft.SqlServer.Management.Sdk.Sfc.DisplayNameKey("Catalog_OperationLogRetentionTime")]
[Microsoft.SqlServer.Management.Sdk.Sfc.Metadata.SfcProperty(Data=true)]
public int OperationLogRetentionTime { get; set; }
[<Microsoft.SqlServer.Management.Sdk.Sfc.DisplayCategoryKey("Catalog_OperationsLog")>]
[<Microsoft.SqlServer.Management.Sdk.Sfc.DisplayDescriptionKey("Catalog_OperationLogRetentionTimeDesc")>]
[<Microsoft.SqlServer.Management.Sdk.Sfc.DisplayNameKey("Catalog_OperationLogRetentionTime")>]
[<Microsoft.SqlServer.Management.Sdk.Sfc.Metadata.SfcProperty(Data=true)>]
member this.OperationLogRetentionTime : int with get, set
Public Property OperationLogRetentionTime As Integer

Property Value

The retention period for the operation logs.

Attributes

Applies to