Deveel.Data.Client.ConnectionClient.Authenticate C# (CSharp) 메소드

Authenticate() 공개 메소드

public Authenticate ( ) : bool
리턴 bool
        public bool Authenticate()
        {
            var response = SendMessage(new AuthenticateRequest(Settings.Schema, Settings.UserName, Settings.Password))
                as AuthenticateResponse;

            if (response == null)
                throw new InvalidOperationException("No response from the server");

            return response.Authenticated;
        }