共用方式為


SPHealthRulesList.AddItem Method

Include Protected Members
Include Inherited Members

Creates a list item.

Overload List

  Name Description
Public method AddItem(SPHealthAnalysisRule) Creates a list item and a timer job for the specified instance of a rule.
Public method AddItem(SPHealthAnalysisRule, Boolean) Creates a list item and a timer job for the specified instance of a rule, optionally overwriting an existing list item for the rule.
Public method AddItem() (Inherited from SPList.)
Public method AddItem(String, SPFileSystemObjectType) (Inherited from SPList.)
Public method AddItem(String, SPFileSystemObjectType, String) (Inherited from SPList.)

Top

See Also

Reference

SPHealthRulesList Class

SPHealthRulesList Members

Microsoft.SharePoint.Administration.Health Namespace