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

AVEVA™ Diagrams

DataSearchAll

  • Last UpdatedJan 18, 2022
  • 1 minute read

Searches for count of data / files on DashBoard site for given criteria and for given searchable object type.

Syntax

Public static bool DataSearchAll (

string strURL,

string strCriteria,

string strObjectTypeHandle,

out string strErrorMessage,

out bool strSearchCount

)

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.

strSearchCount

When this method returns, contains list of count of data and files, if tag has data / files associated with it on DashBoard otherwise, contains String.Empty.

Return value

true if success; otherwise, false.

Example

string strMessage = string.Empty;

string strSearchResult = string.Empty;

if (DataSearchAll (

"http://inhyzvms8r09:16000/",

"J-9002A",

"LOGICAL (& OTHER PHYSICAL) OBJECT",

out strMessage, out strSearchResult))

{

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

}

else

{

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

}

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