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
- siteId
Type: System.Guid
- deleteCorruption
Type: System.Boolean
Return value
Type: System.Collections.Generic.IEnumerable<SPDuplicateContentType>