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?
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
Post a Comment