MetadataBase.HasChanged-egenskab
Gets whether the item of metadata has changed.
Navneområde: Microsoft.Xrm.Sdk.Metadata
Assembly: Microsoft.Xrm.Sdk (i Microsoft.Xrm.Sdk.dll)
Syntaks
'Deklaration
<DataMemberAttribute(Order:=60)> _
Public Property HasChanged As Nullable(Of Boolean)
[DataMemberAttribute(Order=60)]
public Nullable<bool> HasChanged { get; set; }
Egenskabsværdi
Type: Kan være nul<Boolesk værdi>
true if metadata item has changed since the last query; otherwise, false.
Bemærkninger
When metadata is retrieved using RetrieveMetadataChangesRequest, with a valid ClientVersionStamp parameter, the RetrieveMetadataChangesResponse. EntityMetadata property contains an EntityMetadataCollection of all the changed metadata. When a child item has changed but a parent item has not, the HasChanged property of the child will be true but for the parent it will be false.
It is not valid to use this attribute as part of a query because the value is calculated. The value will be null except in the results of a query that returns information about changes from a previous query.
Sikkerhed i tråd
Alle offentlige statiske (Shared i Visual Basic) medlemmer af denne type er trådsikret. Alle medlemmer af forekomsten er ikke garanteret trådsikkerhed.
Platforme
Development Platforms
The .NET Framework does not support all versions of every platform. For a list of the supported versions, see System Requirements.
Target Platforms
Windows Server 2008,Windows Server 2012,Windows 7
Se også
Reference
MetadataBase-klasse
MetadataBase-medlemmer
Microsoft.Xrm.Sdk.Metadata-navneområde
Send comments about this topic to Microsoft.
© 2015 Microsoft. All rights reserved.