Share via


Catalog.OperationLogRetentionTime プロパティ

操作ログの保有期間を取得または設定します。

名前空間:  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
操作ログの保有期間です。

関連項目

参照

Catalog クラス

Microsoft.SqlServer.Management.IntegrationServices 名前空間