Table of Contents

Class ElementFilter

Namespace
Skyline.DataMiner.Automation
Assembly
SLManagedAutomation.dll

Represents a filter for filtering elements.

public class ElementFilter
Inheritance
ElementFilter
Extension Methods

Constructors

ElementFilter()

Initializes a new instance of the ElementFilter class.

Properties

CriticalOnly

Gets or sets a value indicating whether only elements with severity state "Critical" should be included.

DataMinerID

Gets or sets a value limiting the search to the specified DataMiner Agent ID.

ElementID

Gets or sets a value limiting the search to the specified element ID.

ExcludeSubViews

Gets or sets a value indicating whether subviews should be searched.

IncludeHidden

Gets or sets a value indicating whether hidden elements should be included.

IncludePaused

Gets or sets a value indicating whether paused elements should be included.

IncludeServiceElements

Gets or sets a value indicating whether service elements should be included.

IncludeStopped

Gets or sets a value indicating whether stopped elements should be included.

MajorOnly

Gets or sets a value indicating whether only elements with severity state "Major" should be included.

MaskedOnly

Gets or sets a value indicating whether only masked elements should be included.

MinorOnly

Gets or sets a value indicating whether only elements with severity state "Minor" should be included.

NameFilter

Gets or sets a filter for the element name, which can contain * and ? wildcards.

NormalOnly

Gets or sets a value indicating whether only elements with severity state "Normal" should be included.

ProtocolName

Gets or sets a filter for the protocol name. No wildcards are allowed.

ProtocolVersion

Gets or sets a filter for the protocol version. No wildcards are allowed.

TimeoutOnly

Gets or sets a value indicating whether only elements with severity state "Timeout" should be included.

View

Gets or sets the name of the view to be searched.

ViewID

Gets or sets the ID of the view to be searched.

WarningOnly

Gets or sets a value indicating whether only elements with severity state "Warning" should be included.

Methods

ByID(int, int)

Retrieves a new ElementFilter object that has DataMinerID and ElementID set to the specified DataMiner Agent ID and element ID, respectively.

ByName(string)

Retrieves a new ElementFilter object that has NameFilter set to the specified element name filter.

ByProtocol(string)

Retrieves a new ElementFilter object that has ProtocolName set to the specified protocol name filter.

ByProtocol(string, string)

Retrieves a new ElementFilter object that has ProtocolName and ProtocolVersion set to the specified protocol name and version filter, respectively.

ByView(int)

Retrieves a new ElementFilter object that has ViewID set to the specified view ID.

ByView(int, string, string)

Retrieves a new ElementFilter object that has ViewID, ProtocolName and ProtocolVersion set to the specified view ID, protocol name and protocol version, respectively.

ByView(string)

Retrieves a new ElementFilter object that has View set to the specified view name.

ByView(string, string, string)

Retrieves a new ElementFilter object that has View, ProtocolName and ProtocolVersion set to the specified view name, protocol name and protocol version, respectively.