 | RemAdoGetCount Method |
Paperwork .Net Kütüphanesi
Belirtilen sayac adına ait son sayaç numarasını döner.
Namespace:
Paperwork.Connect
Assembly:
Paperwork.Connect (in Paperwork.Connect.dll) Version: 5.0.0.0
Syntaxpublic a_GenericResult GetCount(
string counterName
)
Parameters
- counterName
- Type: SystemString
Sayaç Adı
Return Value
Type:
a_GenericResulta_GenericResult nesnesi içinde , ErrorCode=0 ise işlem başarılıdır. Aksi taktirde Result ve Message alanları kontrol ediniz.
Examples
public void GetCount()
{
a_GenericResult retVal = p.rAdo.GetCount("COUNTER");
if (retVal.ErrorCode != 0)
throw new Exception(retVal.Message);
else
Console.Write(retVal.Result);
}
See Also