Partager via


Propriété ServerProcessorHealthState

Gets the server instance processor health state.

Espace de noms :  Microsoft.SqlServer.Management.Utility
Assembly :  Microsoft.SqlServer.Management.Utility (en Microsoft.SqlServer.Management.Utility.dll)

Syntaxe

'Déclaration
<SfcPropertyAttribute(SfcPropertyFlags.Data)> _
Public ReadOnly Property ServerProcessorHealthState As HealthState
    Get
'Utilisation
Dim instance As ManagedInstance
Dim value As HealthState

value = instance.ServerProcessorHealthState
[SfcPropertyAttribute(SfcPropertyFlags.Data)]
public HealthState ServerProcessorHealthState { get; }
[SfcPropertyAttribute(SfcPropertyFlags::Data)]
public:
property HealthState ServerProcessorHealthState {
    HealthState get ();
}
[<SfcPropertyAttribute(SfcPropertyFlags.Data)>]
member ServerProcessorHealthState : HealthState
function get ServerProcessorHealthState () : HealthState

Valeur de propriété

Type : Microsoft.SqlServer.Management.Utility. . :: . .HealthState
A HealthState value that indicates the current health state of the server instance processor.

Notes

Valid HealthState values are enumerated by the HealthState enumeration.