다음을 통해 공유


SPHealthRulesList.DeleteItems Method

Deletes list items and timer jobs for all rules in an assembly.

Namespace:  Microsoft.SharePoint.Administration.Health
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

Syntax

'Declaration
Public Function DeleteItems ( _
    ruleAssembly As Assembly _
) As IDictionary(Of Type, Exception)
'Usage
Dim instance As SPHealthRulesList
Dim ruleAssembly As [Assembly]
Dim returnValue As IDictionary(Of Type, Exception)

returnValue = instance.DeleteItems(ruleAssembly)
public IDictionary<Type, Exception> DeleteItems(
    Assembly ruleAssembly
)

Parameters

Return Value

Type: System.Collections.Generic.IDictionary<Type, Exception>
A list of types that could not be deleted and the exceptions that were thrown when the method tried to delete them.

See Also

Reference

SPHealthRulesList Class

SPHealthRulesList Members

Microsoft.SharePoint.Administration.Health Namespace