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
viewIdintThe view ID.
Returns
- bool
trueif the view exists; otherwise,false.
Exceptions
- ArgumentException
viewIdis invalid.
ViewExists(string)
Determines whether the view with the specified name exists.
bool ViewExists(string viewName)
Parameters
viewNamestringThe view name.
Returns
- bool
trueif the view exists; otherwise,false.
Exceptions
- ArgumentNullException
viewNameis null.- ArgumentException
viewNameis the empty string ("") or white space.