共用方式為


JobHistoryFilter Object

未來的 Microsoft SQL Server 版本將移除這項功能。請避免在新的開發工作中使用這項功能,並規劃修改目前使用這項功能的應用程式。

The JobServer object exposes a JobHistoryFilter object. The JobHistoryFilter object does not represent a Microsoft SQL Server component. It is used to control JobServerobject methods. If used as a parameter to the EnumJobHistory method, a JobHistoryFilter object constrains the output of the method. If used with the PurgeJobHistory method, the JobHistoryFilter object restricts the scope of the method.

顯示目前物件的 SQL-DMO 物件模型