Reputation: 29260
I have the server URI, the port, username and the password. Knowing all this stuff, how can I simply connect to a CRM server using Microsoft's own SDK? I am using .NET Framework 4.
Although I have analyzed their gigantic ServerConnection class, I unfortunately did not manage to find that one particular line that simply does the connecting.
Upvotes: 0
Views: 1074
Reputation: 23300
MSDN provides very helpful samples for performing CRUD operations both via early and late binding:
http://msdn.microsoft.com/en-us/library/gg328499.aspx - Early binding
Code available in the SDK under \SampleCode\CS\GeneralProgramming\EarlyBound\CRUDOperations.cs
http://msdn.microsoft.com/en-us/library/gg309272.aspx - Late binding
Code available in the SDK under \SampleCode\CS\GeneralProgramming\LateBound\CRUDOperationsDE.cs
Upvotes: 1