Udostępnij za pośrednictwem


MaintenanceWindow.Reason Property

[This topic is pre-release documentation and is subject to change in future releases. Blank topics are included as placeholders.]

Gets the reason for entering maintenance mode.

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

Usage

'Usage
Dim instance As MaintenanceWindow
Dim value As MaintenanceModeReason

value = instance.Reason

Syntax

'Declaration
Public ReadOnly Property Reason As MaintenanceModeReason
public MaintenanceModeReason Reason { get; }
public:
property MaintenanceModeReason Reason {
    MaintenanceModeReason get ();
}
/** @property */
public MaintenanceModeReason get_Reason ()
public function get Reason () : MaintenanceModeReason

Property Value

Returns a value from the MaintenanceModeReason enumeration.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

Windows Vista, Windows Server 2003, and

Target Platforms

See Also

Reference

MaintenanceWindow Class
MaintenanceWindow Members
Microsoft.EnterpriseManagement.Monitoring Namespace