Hinweis
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, sich anzumelden oder das Verzeichnis zu wechseln.
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, das Verzeichnis zu wechseln.
Applies To: Operations Manager for System Center 2012
Updates the current maintenance mode for the client.
Namespace: Microsoft.EnterpriseManagement.Monitoring
Assembly: Microsoft.EnterpriseManagement.OperationsManager (in Microsoft.EnterpriseManagement.OperationsManager.dll)
Syntax
public void UpdateMaintenanceMode(
DateTime scheduledEndTime,
MaintenanceModeReason reason,
string comments,
TraversalDepth traversalDepth
)
public:
void UpdateMaintenanceMode(
DateTime scheduledEndTime,
MaintenanceModeReason reason,
String^ comments,
TraversalDepth traversalDepth
)
member UpdateMaintenanceMode :
scheduledEndTime:DateTime *
reason:MaintenanceModeReason *
comments:string *
traversalDepth:TraversalDepth -> unit
Public Sub UpdateMaintenanceMode (
scheduledEndTime As Date,
reason As MaintenanceModeReason,
comments As String,
traversalDepth As TraversalDepth
)
Parameters
scheduledEndTime
Type: System.DateTimeThe updated time to end maintenance mode.
reason
Type: Microsoft.EnterpriseManagement.Monitoring.MaintenanceModeReasonThe updated reason for maintenance mode.
comments
Type: System.StringAdditional comments.
traversalDepth
Type: Microsoft.EnterpriseManagement.Common.TraversalDepthA value that specifies the scope of the returned results. A value of OneLevel includes only instances of the specified class in the scope of the returned results. A value of Recursive includes instances of the specified class and all instances that are contained by those instances.
See Also
UpdateMaintenanceMode Overload
PartialMonitoringObject Class
Microsoft.EnterpriseManagement.Monitoring Namespace
Return to top