Catalog.OperationLogRetentionTime Property
Gets or sets the retention period for the operation logs.
Namespace: Microsoft.SqlServer.Management.IntegrationServices
Assembly: Microsoft.SqlServer.Management.IntegrationServices (in Microsoft.SqlServer.Management.IntegrationServices.dll)
Syntax
'Declaration
<DisplayCategoryKeyAttribute("Catalog_OperationsLog")> _
<SfcPropertyAttribute(Data := True)> _
<DisplayDescriptionKeyAttribute("Catalog_OperationLogRetentionTimeDesc")> _
<DisplayNameKeyAttribute("Catalog_OperationLogRetentionTime")> _
Public Property OperationLogRetentionTime As Integer
Get
Set
'Usage
Dim instance As Catalog
Dim value As Integer
value = instance.OperationLogRetentionTime
instance.OperationLogRetentionTime = value
[DisplayCategoryKeyAttribute("Catalog_OperationsLog")]
[SfcPropertyAttribute(Data = true)]
[DisplayDescriptionKeyAttribute("Catalog_OperationLogRetentionTimeDesc")]
[DisplayNameKeyAttribute("Catalog_OperationLogRetentionTime")]
public int OperationLogRetentionTime { get; set; }
[DisplayCategoryKeyAttribute(L"Catalog_OperationsLog")]
[SfcPropertyAttribute(Data = true)]
[DisplayDescriptionKeyAttribute(L"Catalog_OperationLogRetentionTimeDesc")]
[DisplayNameKeyAttribute(L"Catalog_OperationLogRetentionTime")]
public:
property int OperationLogRetentionTime {
int get ();
void set (int value);
}
[<DisplayCategoryKeyAttribute("Catalog_OperationsLog")>]
[<SfcPropertyAttribute(Data = true)>]
[<DisplayDescriptionKeyAttribute("Catalog_OperationLogRetentionTimeDesc")>]
[<DisplayNameKeyAttribute("Catalog_OperationLogRetentionTime")>]
member OperationLogRetentionTime : int with get, set
function get OperationLogRetentionTime () : int
function set OperationLogRetentionTime (value : int)
Property Value
Type: System.Int32
The retention period for the operation logs.
See Also
Reference
Microsoft.SqlServer.Management.IntegrationServices Namespace