Method ViewExists
- Namespace
- Skyline.DataMiner.Core.DataMinerSystem.Common
- Assembly
- Skyline.DataMiner.Core.DataMinerSystem.Common.dll
ViewExists(int)
Determines whether the view with the specified ID exists.
bool ViewExists(int viewId)
Parameters
viewId
intThe view ID.
Returns
- bool
true
if the view exists; otherwise,false
.
Exceptions
- ArgumentException
viewId
is invalid.
ViewExists(string)
Determines whether the view with the specified name exists.
bool ViewExists(string viewName)
Parameters
viewName
stringThe view name.
Returns
- bool
true
if the view exists; otherwise,false
.
Exceptions
- ArgumentNullException
viewName
is null.- ArgumentException
viewName
is the empty string ("") or white space.