Hello,
I decided to use inifinite loop.
like this.
---------------------
while(1){
[NetApp.Manage.NaElement] $in = New-Object NetApp.Manage.NaElement("quota-report-iter");
$in.AddNewChild("path",$path2q);
[NetApp.Manage.NaElement] $out = $s.InvokeElem($in);
[System.Collections.IList] $quotaList = $out.GetChildByName("attributes-list").GetChildren();
[System.Collections.IEnumerator] $quotaIter = $quotaList.GetEnumerator();
while($quotaIter.MoveNext()){
[NetApp.Manage.NaElement] $quotaInfo = $quotaIter.Current;
$quotasize_ = $quotaInfo.GetChildContent("disk-limit");
if($quotasize_ -ne "-"){
$FLG = "ON"
}
if($FLG = "ON"){
break
}
}
--------------
i think getreportDB separates quotaDB.and quotaDB push to reportDB regulary(ex every 1 second).
if push api exists,i want to use this.
Best regards