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
- deleteCorruption
Type: System.Boolean
Return value
Type: System.Int32