共用方式為


MaximumHistoryRows 屬性

Gets or sets the maximum number of history rows retained.

命名空間:  Microsoft.SqlServer.Management.Smo.Agent
組件:  Microsoft.SqlServer.Smo (在 Microsoft.SqlServer.Smo.dll 中)

語法

'宣告
<SfcPropertyAttribute> _
Public Property MaximumHistoryRows As Integer
    Get
    Set
'用途
Dim instance As JobServer
Dim value As Integer

value = instance.MaximumHistoryRows

instance.MaximumHistoryRows = value
[SfcPropertyAttribute]
public int MaximumHistoryRows { get; set; }
[SfcPropertyAttribute]
public:
property int MaximumHistoryRows {
    int get ();
    void set (int value);
}
[<SfcPropertyAttribute>]
member MaximumHistoryRows : int with get, set
function get MaximumHistoryRows () : int
function set MaximumHistoryRows (value : int)

屬性值

型別:System. . :: . .Int32
An Int32 value that specifies the maximum number of history rows retained.