Class ServiceFilter
- Namespace
- Skyline.DataMiner.Automation
- Assembly
- SLManagedAutomation.dll
Represents a filter that can be used when searching for services.
public class ServiceFilter
- Inheritance
-
ServiceFilter
- Extension Methods
Constructors
- ServiceFilter()
Initializes a new instance of the ServiceFilter class.
Properties
- CriticalOnly
Gets or sets a value indicating whether to only include services with severity state “Critical”.
- DataMinerID
Gets or set a value limiting the search to the specified DataMiner Agent.
- ExcludeSubViews
Gets or sets a value indicating whether to only exclude subviews from the search.
- MajorOnly
Gets or sets a value indicating whether to only include services with severity state “Major”.
- MinorOnly
Gets or sets a value indicating whether to only include services with severity state “Minor”.
- NameFilter
Gets or sets a filter for the service name, which can contain * and ? as wildcards.
- NormalOnly
Gets or sets a value indicating whether to only include services with severity state “Normal”.
- ServiceID
Gets or sets a value limiting the search to the service with the specified service ID.
- TimeoutOnly
Gets or sets a value indicating whether to only include services with severity state “Timeout”.
- View
Gets or sets the name of the view to search for.
- ViewID
Gets or sets the ID of the view to search for.
- WarningOnly
Gets or sets a value indicating whether to only include services with severity state “Warning”.
Methods
- ByID(int, int)
Creates a new ServiceFilter object with DataMinerID and ServiceID set to the specified DataMiner Agent ID and service ID, respectively.
- ByName(string)
Creates a new ServiceFilter object with NameFilter set to the specified name filter.
- ByView(int)
Creates a new ServiceFilter object with ViewID set to the specified view ID.
- ByView(string)
Creates a new ServiceFilter object with View set to the specified view name.