MetadataQueryExpression Class
Applies To: Dynamics CRM 2015
Represents the abstract base class for constructing a metadata query.
Namespace: Microsoft.Xrm.Sdk.Metadata.Query
Assembly: Microsoft.Xrm.Sdk (in Microsoft.Xrm.Sdk.dll)
Inheritance Hierarchy
System.Object
Microsoft.Xrm.Sdk.Metadata.Query.MetadataQueryBase
Microsoft.Xrm.Sdk.Metadata.Query.MetadataQueryExpression
Microsoft.Xrm.Sdk.Metadata.Query.AttributeQueryExpression
Microsoft.Xrm.Sdk.Metadata.Query.EntityQueryExpression
Microsoft.Xrm.Sdk.Metadata.Query.RelationshipQueryExpression
Syntax
[KnownTypeAttribute(typeof(EntityQueryExpression))]
[DataContractAttribute(Name = "MetadataQueryExpression", Namespace = "https://schemas.microsoft.com/xrm/2011/Metadata/Query")]
[KnownTypeAttribute(typeof(LabelQueryExpression))]
[KnownTypeAttribute(typeof(AttributeQueryExpression))]
[KnownTypeAttribute(typeof(RelationshipQueryExpression))]
public abstract class MetadataQueryExpression : MetadataQueryBase
[KnownTypeAttribute((EntityQueryExpression^::typeid))]
[DataContractAttribute(Name = "MetadataQueryExpression", Namespace = "https://schemas.microsoft.com/xrm/2011/Metadata/Query")]
[KnownTypeAttribute((LabelQueryExpression^::typeid))]
[KnownTypeAttribute((AttributeQueryExpression^::typeid))]
[KnownTypeAttribute((RelationshipQueryExpression^::typeid))]
public ref class MetadataQueryExpression abstract : MetadataQueryBase
[<AbstractClass>]
[<KnownTypeAttribute(typeof(EntityQueryExpression))>]
[<DataContractAttribute(Name = "MetadataQueryExpression", Namespace = "https://schemas.microsoft.com/xrm/2011/Metadata/Query")>]
[<KnownTypeAttribute(typeof(LabelQueryExpression))>]
[<KnownTypeAttribute(typeof(AttributeQueryExpression))>]
[<KnownTypeAttribute(typeof(RelationshipQueryExpression))>]
type MetadataQueryExpression =
class
inherit MetadataQueryBase
end
<KnownTypeAttribute(GetType(EntityQueryExpression))>
<DataContractAttribute(Name := "MetadataQueryExpression", Namespace := "https://schemas.microsoft.com/xrm/2011/Metadata/Query")>
<KnownTypeAttribute(GetType(LabelQueryExpression))>
<KnownTypeAttribute(GetType(AttributeQueryExpression))>
<KnownTypeAttribute(GetType(RelationshipQueryExpression))>
Public MustInherit Class MetadataQueryExpression
Inherits MetadataQueryBase
Constructors
Name | Description | |
---|---|---|
MetadataQueryExpression() | Initializes a new instance of the MetadataQueryExpression class. |
Properties
Name | Description | |
---|---|---|
Criteria | Gets or sets the filter criteria for the metadata query. |
|
ExtensionData | Gets or sets the structure that contains extra data.(Inherited from MetadataQueryBase.) |
|
Properties | Gets or sets the properties to be returned by the query. |
Methods
Name | Description | |
---|---|---|
Equals(Object) | (Inherited from Object.) |
|
Finalize() | (Inherited from Object.) |
|
GetHashCode() | (Inherited from Object.) |
|
GetType() | (Inherited from Object.) |
|
MemberwiseClone() | (Inherited from Object.) |
|
ToString() | (Inherited from Object.) |
Thread Safety
Any public static ( Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
See Also
Microsoft.Xrm.Sdk.Metadata.Query Namespace
Retrieve and detect changes to metadata
Sample: Query metadata and detect changes
Return to top
© 2016 Microsoft. All rights reserved. Copyright