Compartilhar via


Propriedade do RDL Catalog.OperationLogRetentionTime

Gets or sets the retention period for the operation logs.

Namespace:  Microsoft.SqlServer.Management.IntegrationServices
Assembly:  Microsoft.SqlServer.Management.IntegrationServices (em Microsoft.SqlServer.Management.IntegrationServices.dll)

Sintaxe

'Declaração
<DisplayCategoryKeyAttribute("Catalog_OperationsLog")> _
<SfcPropertyAttribute(Data := True)> _
<DisplayDescriptionKeyAttribute("Catalog_OperationLogRetentionTimeDesc")> _
<DisplayNameKeyAttribute("Catalog_OperationLogRetentionTime")> _
Public Property OperationLogRetentionTime As Integer 
    Get 
    Set
'Uso
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)

Valor da propriedade

Tipo: System.Int32
The retention period for the operation logs.

Consulte também

Referência

Catalog Classe

Namespace Microsoft.SqlServer.Management.IntegrationServices