Ejemplo n.º 1
0
 public void SetQuotas(QuotaLimits quotas)
 {
     Win32.LsaSetQuotasForAccount(
         this,
         ref quotas
         ).ThrowIf();
 }
Ejemplo n.º 2
0
        public void SetQuotas(QuotaLimits quotas)
        {
            NtStatus status;

            if ((status = Win32.LsaSetQuotasForAccount(
                     this,
                     ref quotas
                     )) >= NtStatus.Error)
            {
                Win32.Throw(status);
            }
        }