ManagementServer.InsertConsoleScope Method
System Center
Adds a new console scope to the management server.
public void InsertConsoleScope( ConsoleScope consoleScope );
Parameters
- consoleScope
- The console scope object to add.
Exceptions
| Exception Type | Condition |
|---|---|
| System.ArgumentNullException | A null reference (Nothing in Visual Basic) was passed to the method. |
| System.InvalidOperationException | This instance already exists. |
Remarks
The MOM Operator console user interface does not support displaying console scopes and computer groups with the same name. When creating a new console scope, you should avoid using a name that matches the name of an existing computer group.
To save changes made to an existing console scope, use the ManagementServer.UpdateConsoleScope method.
Requirements
Platforms: Requires Windows 2000 Server or later
Version: Requires MOM 2005 or later
Namespace: Microsoft.EnterpriseManagement.Mom
Assembly: Microsoft.Mom.Sdk (in Microsoft.Mom.Sdk.dll)
See Also
ManagementServer Class | ManagementServer Members | ComputerGroup.Name Property | ConsoleScope.Name Property | ManagementServer.UpdateConsoleScope Method
Show: