共用方式為


MaximumJobHistoryRows 屬性

Gets or sets the maximum number of history rows retained per job.

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

語法

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

value = instance.MaximumJobHistoryRows

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

屬性值

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