 | RemUserDeleteUserCustoms Method |
Paperwork .Net Kütüphanesi
Kullanıcın katagorisini siler.
Namespace:
Paperwork.Connect
Assembly:
Paperwork.Connect (in Paperwork.Connect.dll) Version: 5.0.0.0
Syntaxpublic a_GenericResult DeleteUserCustoms(
string category,
string name
)
Parameters
- category
- Type: SystemString
PW_USER_CUSTOMIZATION tablosundaki category kolonu - name
- Type: SystemString
PW_USER_CUSTOMIZATION tablosundaki name
Return Value
Type:
a_GenericResulta_GenericResult nesesi içinde , ErrorCode=0 ise işlem başarılıdır. Aksi taktirde Result ve Message alanları kontrol ediniz.
Examples
public void DeleteUserCustoms()
{
string category = "cat 1";
string name = "name 2";
a_GenericResult retVal = p.rUser.DeleteUserCustoms(category, name);
if (retVal.ErrorCode != 0)
throw new Exception(retVal.Message);
else
Console.Write("İşlem başarıyla gerçekleşmiştir.");
}
See Also