简体   繁体   中英

C# CRM SDK Authentication

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.

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

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM