MaintenanceWindow.Reason Property

Updated: April 16, 2012

Gets the reason for entering maintenance mode. Namespace: Microsoft.EnterpriseManagement.Monitoring
Assembly: Microsoft.EnterpriseManagement.OperationsManager (in Microsoft.EnterpriseManagement.OperationsManager.dll)Dim instance As MaintenanceWindow Dim value As MaintenanceModeReason value = instance.Reason Public ReadOnly Property Reason As MaintenanceModeReasonpublic MaintenanceModeReason Reason { get; }public: property MaintenanceModeReason Reason { MaintenanceModeReason get (); }/** @property */ public MaintenanceModeReason get_Reason () public function get Reason () : MaintenanceModeReason Property ValueReturns a value from the MaintenanceModeReason enumeration.
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Development Platforms

Windows Vista, Windows Server 2003, and

Target Platforms