Please ensure Javascript is enabled for purposes of website accessibility
Powered by Zoomin Software. For more details please contactZoomin

AVEVA™ Unified Engineering

QuickDataSearchAll

  • Last UpdatedJan 05, 2022
  • 1 minute read

Checks whether there are any data / files on DashBoard site for given criteria and for given searchable object type.

Syntax

Public static bool QuickDataSearchAll (

string strURL,

string strCriteria,

string strObjectTypeHandle,

out string strErrorMessage,

out bool bHasData

)

Parameters

strURL

The dashboard URL to be queried for getting data.

strCriteria

Tag to be searched.

strObjectTypeHandle

Handle of object type to search data in.

strErrorMessage

When this method returns, contains the error message, if fails otherwise, contains String.Empty.

bHasData

When this method returns, contains true, if tag has any data / files associated with it on DashBoard otherwise, contains false.

Return value

true if success; otherwise, false.

Example

string strMessage = string.Empty;

bool bHasAssociatedData = false;

if (QuickDataSearchAll (

"http://inhyzvms8r09:16000/",

"J-9002A",

" LOGICAL (& OTHER PHYSICAL) OBJECT",

out strMessage, out bHasAssociatedData))

{

Console.WriteLine("Has Associated Data or Files - {0}", bHasAssociatedData.ToString());

}

else

{

Console.WriteLine("Failed - Error - {0}", strMessage);

}

TitleResults for “How to create a CRG?”Also Available in