Click or drag to resize

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
Syntax
C#
public a_GenericResult GetCount(
	string counterName
)

Parameters

counterName
Type: SystemString
Sayaç Adı

Return Value

Type: a_GenericResult
a_GenericResult nesnesi içinde , ErrorCode=0 ise işlem başarılıdır. Aksi taktirde Result ve Message alanları kontrol ediniz.
Examples
C#
 
            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