OrganizationServiceProxy.SdkClientVersion Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets or sets the version of the client.
public:
property System::String ^ SdkClientVersion { System::String ^ get(); void set(System::String ^ value); };
public string SdkClientVersion { get; set; }
member this.SdkClientVersion : string with get, set
Public Property SdkClientVersion As String
Property Value
The version of the client.
Remarks
.NET clients using the current assemblies will pass the value '6.0.0.0' or higher to indicate the client version. .NET clients using assemblies for earlier versions will not pass a value. This difference allows for messages that retrieve attribute metadata for the appropriate version. This applies to the following messages:
Microsoft Dynamics CRM 2013 and Microsoft Dynamics CRM Online introduced a new attribute type: ImageAttributeMetadata. .NET assemblies for previous versions do not recognize this type and an error occurs attempting to deserialize them. When attribute metadata is retrieved, if the assembly does not pass a SdkClientVersion
value ImageAttributeMetadata
attributes will not be returned.
Clients that do not use .NET assemblies need to include SdkClientVersion
with a value of ‘6.0.0.0’ or higher in order to receive ImageAttributeMetadata
attributes.
<soapenv:Header><a:SdkClientVersion xmlns:a=\"http://schemas.microsoft.com/xrm/2011/Contracts\">8.0</a:SdkClientVersion></soapenv:Header>