Microsoft.EnterpriseManagement.Mom Namespace
The Microsoft.EnterpriseManagement.Mom namespace contains general-purpose classes and types for accessing MOM operations data, rules, and computers. Items in this namespace are defined in two separate assemblies:
- Microsoft.Mom.Sdk (in Microsoft.Mom.Sdk.dll)
- MOM.Context (in MOM.Context.dll)
Applications that use classes in this namespace should reference both assemblies.
Security and Access
The classes in the Microsoft.EnterpriseManagement.Mom namespace use console scopes to limit access to operations data in MOM. For more information, see ConsoleScope Class. Console scopes will govern the amount of information visible to custom applications built using the MOM Management Server Class Library, based on the account the application is running under.
Note
If you run an MCL application using an account that does not have full access to all the MOM computer groups, many methods and properties will return only the subset of the operations data to which the account has permissions.
The methods on the top-level Administration object will prevent users with very little or no rights in MOM from accessing the objects they would not otherwise be able to see in the MOM consoles. Most of these methods throw an UnauthorizedAccessException when the user account does not have sufficient rights.
Classes
Name | Description |
---|---|
This is the root administration class that all MOM SDK clients must use. |
|
The Microsoft.EnterpriseManagement.Mom.Alert class defines a MOM Alert. |
|
The Microsoft.EnterpriseManagement.Mom.Internal.Expression for left-hand side column references in the Microsoft.EnterpriseManagement.Mom.AlertQueryExpression object. |
|
An Microsoft.EnterpriseManagement.Mom.AlertQuery instance can be used to run a scoped query on the system. |
|
The QueryExpression used by the Microsoft.EnterpriseManagement.Mom.AlertQuery class. |
|
The AlertResolutionState class represents the sequence of resolution states that are assigned to alerts between their creation and their eventual resolution. |
|
Stores a collection of Alert objects. |
|
Represents an attribute used to define computer group membership. An attribute is a name-value pair describing a specific characteristic of a computer, hardware component, software, or service. Unlike MOM 2000, computer attributes are not limited to Windows registry entries. |
|
Stores a collection of computer discovery attributes. |
|
This class defines a MOM Computer object. |
|
The Microsoft.EnterpriseManagement.Mom.Internal.Expression for left-hand side column references in the Microsoft.EnterpriseManagement.Mom.ComputerQueryExpression object. |
|
This class defines a MOM ComputerGroup. |
|
Stores a collection of ComputerGroup objects. |
|
The ComputerMaintenance class is used to place computers in maintenance mode and to return them online again. |
|
An Microsoft.EnterpriseManagement.Mom.ComputerQuery instance can be used to run a scoped query for computers in the current MOM Management Group. |
|
The ComputerQueryExpression class is used to build advanced queries for retrieving computer information. |
|
Stores a collection of Computer objects. |
|
The ConsoleScope class represents a console scope that has been created in the MOM Administrator console. Console scopes are used to control a user's access to MOM objects in the Operations Console and the Web Console. |
|
Stores a collection of ConsoleScope objects. |
|
The CustomAlert class represents alerts that are programmatically added to MOM. Unlike the RuntimeAlert class, the properties of the CustomAlert class are writable. |
|
This class is for creating and submitting user-defined computer objects to the MOM Management Server. |
|
This class is for creating and submitting user-defined event objects to the MOM Management Server using the Computer.InsertEvents method. |
|
The CustomPerformanceData class represents performance data that are programmatically added to MOM. Unlike the RuntimePerformanceData class, the properties of the CustomPerformanceData class are writable. |
|
This class describes a MOM Event. |
|
The Microsoft.EnterpriseManagement.Mom.Internal.Expression for left-hand side column references in the Microsoft.EnterpriseManagement.Mom.EventQueryExpression object. |
|
An Microsoft.EnterpriseManagement.Mom.EventQuery instance can be used to run a scoped query for computers in the current MOM Management Group. |
|
The query expression used by the EventQuery class. |
|
Stores a collection of Event objects. |
|
This class exposes the knowledge associated with a rule. |
|
This is the management server object of the MOM Class Library. |
|
The base exception class for all exceptions in the Mom class library. |
|
This exception is thrown by several methods that update MOM data. It indicates that the object has changed since the reference to it was obtained. You should refresh the reference, modify the properties again, and then resubmit the changes. |
|
Represents a rule override. |
|
Stores a collection of Override objects. |
|
This class describes a performance data point. |
|
This class represents sampled performance data values. |
|
Stores a collection of Value objects. |
|
Stores a collection of PerformanceData objects. |
|
The Microsoft.EnterpriseManagement.Mom.Internal.Expression for left-hand side column references in the Microsoft.EnterpriseManagement.Mom.PerformanceDataQueryExpression object. |
|
The PerformanceDataQuery class is used to build advanced queries for retrieving performance data information. |
|
The QueryExpression used by the Microsoft.EnterpriseManagement.Mom.PerformanceDataQuery class. |
|
Classes derived from this abstract base class are used to perform queries on specific types of MOM operations data. |
|
This class defines a MOM Rule. |
|
This class defines a MOM RuleGroup. |
|
Stores a collection of RuleGroup objects. |
|
Stores a collection of Rule objects. |
|
The Script class represents a response script stored in the MOM database. |
|
Stores a collection of Script objects. |
|
Represents the parameters passed from a rule to a script response. |
|
Stores a collection of ScriptParameter objects. |
|
The Task class represents a task stored in the MOM database. |
|
This class is used to query task information. |
|
Stores a collection of Task objects. |
|
Represents the threshold defined in a performance data rule. |
|
The Microsoft.EnterpriseManagement.Mom.Internal.Expression used for right-hand side literal values for any QueryExpression derived object. |
Enumerations
Name | Description |
---|---|
Defines the column names that are valid for AlertColumnNameExpression objects. |
|
Defines the column names that can be used as keys for sorting alert query results. |
|
Defines the valid sorting types for alert query results. |
|
Represents the possible values for the severity of an alert. |
|
Defines the data types that are available for using in attribute values. |
|
Defines the management types supported by MOM. |
|
Defines the pending actions occurring on a managed computer. |
|
Defines the column names that are valid for ComputerColumnNameExpression objects. |
|
Defines the 3 states used to summarize the health of an entire computer group. |
|
Defines the column names that can be used as keys for sorting computer query results. |
|
Defines the valid sorting types for computer query results. |
|
Defines the valid computer types in MOM. |
|
Defines the values for the Event.Type property. |
|
Defines the column names that are valid for EventColumnNameExpression objects. |
|
Defines the column names that can be used as keys for sorting event query results. |
|
Defines the valid sorting types for event query results. |
|
Defines the column names that are valid for PerformanceDataColumnNameExpression objects. |
|
Specifies how items in a list are sorted. |
|
Defines the valid sorting types for performance data query results. |
|
Represents the possible values for alerts used for state monitoring. |
|
Defines the possible values for the Threshold.Direction property. |
|
Defines the types of performance threshold values. |