MinimumRunDuration Property (SQL-DMO)

The MinimumRunDuration property specifies filtering by the amount of time required for successful SQL Server Agent job execution.

Applies To

JobHistoryFilter Object

Syntax

object.MinimumRunDuration [= value]

Part Description
object Expression that evaluates to an object in the Applies To list
value Long integer specifying a number of seconds

Remarks

When the MinimumRunDuration property is 0, the property is not used as part of job execution history filtering.

Data Type

Long

Modifiable

Read/write

Prototype (C/C++)

HRESULT GetMinimumRunDuration(LPLONG pRetVal);

HRESULT SetMinimumRunDuration(long NewValue);

  


(c) 1988-98 Microsoft Corporation. All Rights Reserved.