Apache.Hadoop.Hive.ThriftHiveMetastore.Client.recv_revoke_privileges C# (CSharp) Method

recv_revoke_privileges() public method

public recv_revoke_privileges ( ) : bool
return bool
            public bool recv_revoke_privileges()
            {
                TMessage msg = iprot_.ReadMessageBegin();
                if (msg.Type == TMessageType.Exception)
                {
                    TApplicationException x = TApplicationException.Read(iprot_);
                    iprot_.ReadMessageEnd();
                    throw x;
                }
                revoke_privileges_result result = new revoke_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, "revoke_privileges failed: unknown result");
            }
ThriftHiveMetastore.Client