PolicyStore.GetAggregatedHealthState(SfcQueryExpression) Method

Definition

Returns the aggregated health information of the target query, which can describe either a single object or a collection of objects.

public Microsoft.SqlServer.Management.Dmf.PolicyHealthState GetAggregatedHealthState (Microsoft.SqlServer.Management.Sdk.Sfc.SfcQueryExpression target);
member this.GetAggregatedHealthState : Microsoft.SqlServer.Management.Sdk.Sfc.SfcQueryExpression -> Microsoft.SqlServer.Management.Dmf.PolicyHealthState
Public Function GetAggregatedHealthState (target As SfcQueryExpression) As PolicyHealthState

Parameters

Returns

If there is a violation for this object or one of its descendents we will return Critical, otherwise Unknown.

Applies to