gov.va.medora.mdws.ConnectionLib.getVistaTimestamps C# (CSharp) Method

getVistaTimestamps() public method

public getVistaTimestamps ( ) : TaggedTextArray
return gov.va.medora.mdws.dto.TaggedTextArray
        public TaggedTextArray getVistaTimestamps()
        {
            TaggedTextArray result = new TaggedTextArray();

            if(mySession.ConnectionSet.Count == 0 || !mySession.ConnectionSet.IsAuthorized)
            {
                result.fault = new FaultTO(NO_CONNECTIONS);
            }
            if (result.fault != null)
            {
                return result;
            }

            try
            {
                IndexedHashtable t = mySession.ConnectionSet.query("IToolsDao", "getTimestamp", new object[] { });
                result = new TaggedTextArray(t);
            }
            catch (Exception e)
            {
                result.fault = new FaultTO(e.Message);
            }
            return result;
        }