 | RemUserDeleteAttorney Method |
Paperwork .Net Kütüphanesi
Vekaleti silmek için kullanılır.
Namespace:
Paperwork.Connect
Assembly:
Paperwork.Connect (in Paperwork.Connect.dll) Version: 5.0.0.0
Syntaxpublic a_GenericResult DeleteAttorney(
string attorneyId,
bool doNotify = true
)
Parameters
- attorneyId
- Type: SystemString
Vekalet bilgisi - doNotify (Optional)
- Type: SystemBoolean
Email ile bilgilendirilmesi için kontrolü sağlar.(Default değeri true)
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 DeleteAttorney()
{
string loginName = "argus";
rAttorney[] attorney = p.rUser.GetAttorneys(loginName);
a_GenericResult da = p.rUser.DeleteAttorney(attorney[0].AttorneyId, true);
if (da.ErrorCode != 0)
throw new Exception(da.Message);
}
See Also