共用方式為


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
)

參數

傳回值

Type: Microsoft.SharePoint.Administration.SiteHealth.SPSiteHealthSummary

請參閱

參照

SPSite class

SPSite members

Microsoft.SharePoint namespace