Share via


MaintenanceWindow.Reason Property

 

Applies To: Operations Manager for System Center 2012

Gets the reason for entering maintenance mode.

Namespace:   Microsoft.EnterpriseManagement.Monitoring
Assembly:  Microsoft.EnterpriseManagement.OperationsManager (in Microsoft.EnterpriseManagement.OperationsManager.dll)

Syntax

public MaintenanceModeReason Reason { get; }
public:
property MaintenanceModeReason Reason {
    MaintenanceModeReason get();
}
member Reason : MaintenanceModeReason with get
Public ReadOnly Property Reason As MaintenanceModeReason

Property Value

Type: Microsoft.EnterpriseManagement.Monitoring.MaintenanceModeReason

Returns a value from the MaintenanceModeReason enumeration.

See Also

MaintenanceWindow Class
Microsoft.EnterpriseManagement.Monitoring Namespace

Return to top