Share via


SPCorruptionChecker.CheckForDuplicateContentTypes method

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

Syntax

'Declaration
Public Function CheckForDuplicateContentTypes ( _
    siteId As Guid, _
    deleteCorruption As Boolean _
) As IEnumerable(Of SPDuplicateContentType)
'Usage
Dim instance As SPCorruptionChecker
Dim siteId As Guid
Dim deleteCorruption As Boolean
Dim returnValue As IEnumerable(Of SPDuplicateContentType)

returnValue = instance.CheckForDuplicateContentTypes(siteId, _
    deleteCorruption)
public IEnumerable<SPDuplicateContentType> CheckForDuplicateContentTypes(
    Guid siteId,
    bool deleteCorruption
)

Parameters

Return value

Type: System.Collections.Generic.IEnumerable<SPDuplicateContentType>

See also

Reference

SPCorruptionChecker class

SPCorruptionChecker members

Microsoft.SharePoint.Administration namespace