Hi,
One of the good feature in CRM 2015 Update 1 is we can write the code to get the version of CRM.
Here is the code of it
var verRequest = new RetrieveVersionRequest();
RetrieveVersionResponse verResponse = (RetrieveVersionResponse)objService.Execute(verRequest);
var crmVersion = new Version(verResponse.Version);
if (crmVersion >= new Version("7.1"))
{
// Code
}
else
{
// Code
}
Get the latest dlls from SDK for accessing "RetrieveVersionRequest" message.
Get Latest SDK
Hope it helps
--
Happy CRM'ing
Gopinath.
One of the good feature in CRM 2015 Update 1 is we can write the code to get the version of CRM.
Here is the code of it
var verRequest = new RetrieveVersionRequest();
RetrieveVersionResponse verResponse = (RetrieveVersionResponse)objService.Execute(verRequest);
var crmVersion = new Version(verResponse.Version);
if (crmVersion >= new Version("7.1"))
{
// Code
}
else
{
// Code
}
Get the latest dlls from SDK for accessing "RetrieveVersionRequest" message.
Get Latest SDK
Hope it helps
--
Happy CRM'ing
Gopinath.
kayseri escort - hatay escort
ReplyDelete