PolicyStore.GetAggregatedHealthState Method
Deletes system health phantom records specified by a SfcQueryExpression.
Namespace: Microsoft.SqlServer.Management.Dmf
Assembly: Microsoft.SqlServer.Dmf (in Microsoft.SqlServer.Dmf.dll)
Syntax
'Declaration
Public Function GetAggregatedHealthState ( _
target As SfcQueryExpression _
) As PolicyHealthState
'Usage
Dim instance As PolicyStore
Dim target As SfcQueryExpression
Dim returnValue As PolicyHealthState
returnValue = instance.GetAggregatedHealthState(target)
public PolicyHealthState GetAggregatedHealthState(
SfcQueryExpression target
)
public:
PolicyHealthState GetAggregatedHealthState(
SfcQueryExpression^ target
)
member GetAggregatedHealthState :
target:SfcQueryExpression -> PolicyHealthState
public function GetAggregatedHealthState(
target : SfcQueryExpression
) : PolicyHealthState
Parameters
- target
Type: Microsoft.SqlServer.Management.Sdk.Sfc.SfcQueryExpression
A SfcQueryExpression object.
Return Value
Type: Microsoft.SqlServer.Management.Dmf.PolicyHealthState
A PolicyHealthState object.