Share via


SPContentDatabase.RepairSiteOrphans method

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

Syntax

'Declaration
Public Function RepairSiteOrphans ( _
    repair As Boolean, _
    force As Boolean, _
    noRetention As Boolean _
) As String
'Usage
Dim instance As SPContentDatabase
Dim repair As Boolean
Dim force As Boolean
Dim noRetention As Boolean
Dim returnValue As String

returnValue = instance.RepairSiteOrphans(repair, _
    force, noRetention)
public string RepairSiteOrphans(
    bool repair,
    bool force,
    bool noRetention
)

Parameters

Return value

Type: System.String

See also

Reference

SPContentDatabase class

SPContentDatabase members

Microsoft.SharePoint.Administration namespace