다음을 통해 공유


PolicyStore.PurgeHealthState 메서드 (SfcQueryExpression)

Removes the health data for a specified tree/subtree.

네임스페이스:  Microsoft.SqlServer.Management.Dmf
어셈블리:  Microsoft.SqlServer.Dmf(Microsoft.SqlServer.Dmf.dll)

구문

‘선언
Public Sub PurgeHealthState ( _
    targetTreeRoot As SfcQueryExpression _
)
‘사용 방법
Dim instance As PolicyStore 
Dim targetTreeRoot As SfcQueryExpression

instance.PurgeHealthState(targetTreeRoot)
public void PurgeHealthState(
    SfcQueryExpression targetTreeRoot
)
public:
void PurgeHealthState(
    SfcQueryExpression^ targetTreeRoot
)
member PurgeHealthState : 
        targetTreeRoot:SfcQueryExpression -> unit
public function PurgeHealthState(
    targetTreeRoot : SfcQueryExpression
)

매개 변수

주의

Results of failed local policies can be displayed for affected objects by using the toggle (scroll with a white cross in small red circle icon). This displays the icon in the tree, so an admin can see what objects are out of compliance and investigate the cause. There are certain situations when it is desirable to refresh the state, for example, when a corrective action has been applied and the admin doesn't want to wait till the next scheduled run.

참고 항목

참조

PolicyStore 클래스

PurgeHealthState 오버로드

Microsoft.SqlServer.Management.Dmf 네임스페이스