SPCorruptionChecker.CheckForOrphanRoleAssignments method

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

Syntax

'Declaration
Public Function CheckForOrphanRoleAssignments ( _
    deleteCorruption As Boolean _
) As Integer
'Usage
Dim instance As SPCorruptionChecker
Dim deleteCorruption As Boolean
Dim returnValue As Integer

returnValue = instance.CheckForOrphanRoleAssignments(deleteCorruption)
public int CheckForOrphanRoleAssignments(
    bool deleteCorruption
)

Parameters

Return value

Type: System.Int32

See also

Reference

SPCorruptionChecker class

SPCorruptionChecker members

Microsoft.SharePoint.Administration namespace