Udostępnij za pośrednictwem


JobServer.MaximumJobHistoryRows Property

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

Namespace: Microsoft.SqlServer.Management.Smo.Agent
Assembly: Microsoft.SqlServer.Smo (in microsoft.sqlserver.smo.dll)

Syntax

'Deklaracja
<SfcPropertyAttribute> _
Public Property MaximumJobHistoryRows As Integer
[SfcPropertyAttribute] 
public int MaximumJobHistoryRows { get; set; }
[SfcPropertyAttribute] 
public:
property int MaximumJobHistoryRows {
    int get ();
    void set (int value);
}
/** @property */
public int get_MaximumJobHistoryRows ()

/** @property */
public void set_MaximumJobHistoryRows (int value)
public function get MaximumJobHistoryRows () : int

public function set MaximumJobHistoryRows (value : int)

Property Value

An Int32 value that specifies the maximum number of history rows retained per job.

Thread Safety

Any public static (Shared in Microsoft Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server.

Target Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server.