Gets or sets the retention period for the operation logs.
命名空間: Microsoft.SqlServer.Management.IntegrationServices
組件: Microsoft.SqlServer.Management.IntegrationServices (在 Microsoft.SqlServer.Management.IntegrationServices.dll 中)
語法
'宣告
<DisplayCategoryKeyAttribute("Catalog_OperationsLog")> _
<SfcPropertyAttribute(Data := True)> _
<DisplayDescriptionKeyAttribute("Catalog_OperationLogRetentionTimeDesc")> _
<DisplayNameKeyAttribute("Catalog_OperationLogRetentionTime")> _
Public Property OperationLogRetentionTime As Integer
Get
Set
'用途
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)
屬性值
型別:System.Int32
The retention period for the operation logs.