SPSite.RunHealthCheck method
Namespace: Microsoft.SharePoint
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'Declaração
Public Function RunHealthCheck ( _
ruleId As Guid, _
bRepair As Boolean _
) As SPSiteHealthSummary
'Uso
Dim instance As SPSite
Dim ruleId As Guid
Dim bRepair As Boolean
Dim returnValue As SPSiteHealthSummary
returnValue = instance.RunHealthCheck(ruleId, _
bRepair)
public SPSiteHealthSummary RunHealthCheck(
Guid ruleId,
bool bRepair
)
Parâmetros
- ruleId
Type: System.Guid
- bRepair
Type: System.Boolean
Valor retornado
Type: Microsoft.SharePoint.Administration.SiteHealth.SPSiteHealthSummary