Table of Contents

Method ByView

Namespace
Skyline.DataMiner.Automation
Assembly
SLManagedAutomation.dll

ByView(string)

Creates a new ServiceFilter object with View set to the specified view name.

public static ServiceFilter ByView(string name)

Parameters

name string

The name of the view.

Returns

ServiceFilter

A new ServiceFilter object with View set to the specified view name.

Examples

var filter = ServiceFilter.ByView("MyView");

ByView(int)

Creates a new ServiceFilter object with ViewID set to the specified view ID.

public static ServiceFilter ByView(int id)

Parameters

id int

The ID of the view.

Returns

ServiceFilter

A new ServiceFilter object with ViewID set to the specified view ID.

Examples

var filter = ServiceFilter.ByView(202);