Catalog.OperationLogRetentionTime 属性
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.