gov.va.medora.mdws.ToolsLib.ddrGetsEntry C# (CSharp) Method

ddrGetsEntry() public method

public ddrGetsEntry ( string file, string iens, string flds, string flags ) : TextArray
file string
iens string
flds string
flags string
return TextArray
        public TextArray ddrGetsEntry(string file, string iens, string flds, string flags)
        {
            TextArray result = new TextArray();
            string msg = MdwsUtils.isAuthorizedConnection(mySession);
            if (msg != "OK")
            {
                result.fault = new FaultTO(msg);
            }
            if (result.fault != null)
            {
                return result;
            }

            try
            {
                ToolsApi api = new ToolsApi();
                string[] response = api.ddrGetsEntry(mySession.ConnectionSet.BaseConnection, file, iens, flds, flags);
                return new TextArray(response);
            }
            catch (Exception exc)
            {
                result.fault = new FaultTO(exc);
                return result;
            }
        }