I have used the SOQL to get the salesforce record.
sforce.SforceService SFDCSer;
qr = SFDCSer.query('select id,name from account');
sforce.sObject[] queryresutls = qr.records;
List<sforce.sObject> recordList = queryresutls.OfType<sforce.sObject>().ToList();
I don't know how to get the object name from theuse the SOSL result in C#.
sforce.SearchResult sr = SFDCService.search("FIND {tt*} IN ALL FIELDS RETURNING Account
(Id,Name,type),Contact(name,email),Opportunity(name,StageName)");
sforce.SearchRecord[] sRecords = sr.searchRecords;
for (int i = 0; i < sRecords.Count(); i++)
{
sforce.sObject record = sRecords[i].record;
}
How to populate the grid column based on I cant find the SOSL search result in c# for salesforce integration?Search.Query keyword.