PolicyStore.GetAggregatedHealthState(SfcQueryExpression) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
- target
- SfcQueryExpression
Returns
If there is a violation for this object or one of its descendents we will return Critical, otherwise Unknown.