Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /// <remarks/>
- [System.Web.Services.Protocols.SoapHeaderAttribute("CallOptionsValue")]
- [System.Web.Services.Protocols.SoapHeaderAttribute("MruHeaderValue")]
- [System.Web.Services.Protocols.SoapHeaderAttribute("SessionHeaderValue")]
- [System.Web.Services.Protocols.SoapHeaderAttribute("QueryOptionsValue")]
- [System.Web.Services.Protocols.SoapDocumentMethodAttribute("", RequestNamespace = "urn:partner.soap.sforce.com", ResponseNamespace = "urn:partner.soap.sforce.com", Use = System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle = System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
- [return: System.Xml.Serialization.XmlElementAttribute("result")]
- public QueryResult query(string queryString)
- {
- object[] results = this.Invoke("query", new object[] {
- queryString});
- return ((QueryResult)(results[0]));
- }
- MemoryStream stm = new MemoryStream();
- XmlSerializer xmlSer = new XmlSerializer(typeof(QueryResult));
- xmlSer.Serialize(stm, queryResult);
Add Comment
Please, Sign In to add comment