Table of Contents

Method GetView

Namespace
Skyline.DataMiner.Core.DataMinerSystem.Common
Assembly
Skyline.DataMiner.Core.DataMinerSystem.Common.dll

GetView(int)

Gets the view with the specified ID.

IDmsView GetView(int viewId)

Parameters

viewId int

The view ID.

Returns

IDmsView

The view with the specified ID.

Exceptions

ArgumentException

viewId is invalid.

ViewNotFoundException

No view with the specified ID exists in the DataMiner System.

GetView(string)

Retrieves the view with the specified name.

IDmsView GetView(string viewName)

Parameters

viewName string

The view name.

Returns

IDmsView

The view with the specified name.

Exceptions

ArgumentNullException

viewName is null.

ArgumentException

viewName is the empty string ("") or white space.

ViewNotFoundException

No view with the specified name exists in the DataMiner System.