Partager via


MaintenanceWindow Class

 

Applies To: Operations Manager for System Center 2012

Represents a maintenance mode window that contains information about entering maintenance mode.

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

Inheritance Hierarchy

System.Object
  Microsoft.EnterpriseManagement.Common.MonitoringBase
    Microsoft.EnterpriseManagement.Monitoring.MaintenanceWindow

Syntax

public class MaintenanceWindow : MonitoringBase
public ref class MaintenanceWindow : MonitoringBase
type MaintenanceWindow = 
    class
        inherit MonitoringBase
    end
Public Class MaintenanceWindow
    Inherits MonitoringBase

Properties

Name Description
System_CAPS_pubproperty Comments

Gets the comments that appear in the maintenance mode window.

System_CAPS_pubproperty EndTime

Gets the actual time (as opposed to the scheduled time), in DateTime format, that maintenance mode ended.

System_CAPS_pubproperty LastModified

Gets the time, in DateTime format, that the monitoring object was last modified.

System_CAPS_pubproperty ManagementGroup

(Inherited from MonitoringBase.)

System_CAPS_pubproperty ManagementGroupId

(Inherited from MonitoringBase.)

System_CAPS_pubproperty MonitoringObjectId

Gets the globally unique identifier (GUID) for the monitoring object.

System_CAPS_pubproperty Reason

Gets the reason for entering maintenance mode.

System_CAPS_pubproperty ScheduledEndTime

Gets the scheduled time, in DateTime format, that maintenance mode will end.

System_CAPS_pubproperty StartTime

Gets the time, in DateTime format, that maintenance mode started.

System_CAPS_pubproperty User

Gets the user that last modified the monitoring object.

Methods

Name Description
System_CAPS_pubmethod Equals(Object)

(Inherited from Object.)

System_CAPS_protmethod Finalize()

(Inherited from Object.)

System_CAPS_pubmethod GetHashCode()

(Inherited from Object.)

System_CAPS_pubmethod GetType()

(Inherited from Object.)

System_CAPS_protmethod MemberwiseClone()

(Inherited from Object.)

System_CAPS_pubmethod Reconnect(EnterpriseManagementGroup)

(Inherited from MonitoringBase.)

System_CAPS_pubmethod ToString()

(Inherited from MonitoringBase.)

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.

See Also

Microsoft.EnterpriseManagement.Monitoring Namespace

Return to top