Click or drag to resize

RemAdminDeletePosition Method

Paperwork .Net Kütüphanesi
Sistemden pozisyon silmek için kullanılan metottur.

Namespace:  Paperwork.Connect
Assembly:  Paperwork.Connect (in Paperwork.Connect.dll) Version: 5.0.0.0
Syntax
C#
public a_GenericResult DeletePosition(
	string positionName
)

Parameters

positionName
Type: SystemString
Silinecek pozisyonun 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 DeletePosition()
             {
                 string pname = "positionName";

                 a_GenericResult retval = p.rAdmin.DeleteDepartment(pname);
                 if (retval.ErrorCode != 0)
                     throw new Exception(retval.Message);
                 else
                    Console.WriteLine("Seçilen kayıt silindi.");
                 Console.ReadLine();
             }
See Also