共用方式為


PolicyStore.GetAggregatedHealthState 方法

Deletes system health phantom records specified by a SfcQueryExpression.

命名空間:  Microsoft.SqlServer.Management.Dmf
組件:  Microsoft.SqlServer.Dmf (在 Microsoft.SqlServer.Dmf.dll 中)

語法

'宣告
Public Function GetAggregatedHealthState ( _
    target As SfcQueryExpression _
) As PolicyHealthState
'用途
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

參數

傳回值

型別:Microsoft.SqlServer.Management.Dmf.PolicyHealthState
A PolicyHealthState object.

請參閱

參考

PolicyStore 類別

Microsoft.SqlServer.Management.Dmf 命名空間