SPSite.RunHealthCheck method
Namespace: Microsoft.SharePoint
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'宣告
Public Function RunHealthCheck ( _
ruleId As Guid, _
bRepair As Boolean _
) As SPSiteHealthSummary
'用途
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
)
參數
- ruleId
Type: System.Guid
- bRepair
Type: System.Boolean
傳回值
Type: Microsoft.SharePoint.Administration.SiteHealth.SPSiteHealthSummary