CRM Plugin Serverconnection missing reference -


i using sample code crm samples come sdk , error keeps showing. how add serverconnection missing reference? @ loss find add it? or namespace belongs to?

enter image description here

this connection code crm online hope serve:

clientcredentials credentials = new clientcredentials(); credentials.username.username = username; credentials.username.password = password; credentials.windows.clientcredential = credentialcache.defaultnetworkcredentials; uri organizationuri = new uri(crmserverurl); uri homerealmuri = null; using (organizationserviceproxy serviceproxy = new organizationserviceproxy(organizationuri, homerealmuri, credentials, null)) {     crmsvc = (iorganizationservice)serviceproxy; } 

Comments

Popular posts from this blog

javascript - Is getTimezoneOffset() stable during daylight saving transition? -

Why does PHP consider 0 to be equal to a string? -

formula - R: how to pass in a reference to the variable in glm or lm? -