Condividi tramite


Metodo GetAggregatedHealthState

Deletes system health phantom records specified by a SfcQueryExpression.

Spazio dei nomi  Microsoft.SqlServer.Management.Dmf
Assembly:  Microsoft.SqlServer.Dmf (in Microsoft.SqlServer.Dmf.dll)

Sintassi

'Dichiarazione
Public Function GetAggregatedHealthState ( _
    target As SfcQueryExpression _
) As PolicyHealthState
'Utilizzo
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