Apache.Hadoop.Hive.ThriftHiveMetastore.Client.recv_grant_privileges C# (CSharp) Метод

recv_grant_privileges() публичный Метод

public recv_grant_privileges ( ) : bool
Результат bool
            public bool recv_grant_privileges()
            {
                TMessage msg = iprot_.ReadMessageBegin();
                if (msg.Type == TMessageType.Exception)
                {
                    TApplicationException x = TApplicationException.Read(iprot_);
                    iprot_.ReadMessageEnd();
                    throw x;
                }
                grant_privileges_result result = new grant_privileges_result();
                result.Read(iprot_);
                iprot_.ReadMessageEnd();
                if (result.__isset.success)
                {
                    return result.Success;
                }
                if (result.__isset.o1)
                {
                    throw result.O1;
                }
                throw new TApplicationException(TApplicationException.ExceptionType.MissingResult, "grant_privileges failed: unknown result");
            }
ThriftHiveMetastore.Client