共用方式為


PolicyStore.PurgeHealthState Method

Definition

Overloads

PurgeHealthState(SfcQueryExpression)

Purge records from the policy health state table that are associated with the nodes in the tree, starting with the value that is passed to targetTreeRoot.

PurgeHealthState()

Purge all records from the policy health state table.

PurgeHealthState(SfcQueryExpression)

Purge records from the policy health state table that are associated with the nodes in the tree, starting with the value that is passed to targetTreeRoot.

public void PurgeHealthState (Microsoft.SqlServer.Management.Sdk.Sfc.SfcQueryExpression targetTreeRoot);
member this.PurgeHealthState : Microsoft.SqlServer.Management.Sdk.Sfc.SfcQueryExpression -> unit
Public Sub PurgeHealthState (targetTreeRoot As SfcQueryExpression)

Parameters

targetTreeRoot
SfcQueryExpression

Applies to

PurgeHealthState()

Purge all records from the policy health state table.

public void PurgeHealthState ();
member this.PurgeHealthState : unit -> unit
Public Sub PurgeHealthState ()

Applies to