This documentation is archived and is not being maintained.

MetadataItems Enumeration (MetadataService)

Dynamics
banner art

[Applies to: Microsoft Dynamics CRM 4.0]

Find the latest SDK documentation: CRM 2015 SDK

The MetadataItems enumeration type describes which entity data to retrieve when using the RetrieveAllEntities message.

Syntax

[Visual Basic .NET]
Public Enum MetadataItems
[C#]
public enum MetadataItems

Members

NameValueDescription
All16Use this to retrieve all data for an entity.
EntitiesOnly1Use this to retrieve base information about the entity.

The retrieved entity metadata includes the following properties:

CanTriggerWorkflow

Description

DisplayCollectionName

DisplayName

DuplicateDetection

IsActivity

IsAvailableOffline

IsAvailableOffline

IsChildEntity

IsCustomizable

IsCustomMetadata

IsImportable

IsIntersect

IsMailMergeEnabled

IsValidForAdvancedFind

Name

ObjectTypeCode

OwnershipType

PrimaryField

PrimaryKey

ReportViewName

SchemaName

WorkflowSupport

IncludeAttributes2Use this to retrieve entity information plus attributes for the entity. The retrieved entity metadata includes the following properties:

MetadataOnly

Attributes

IncludePrivileges4Use this to retrieve entity information plus privileges for the entity.

The retrieved entity metadata includes the following properties:

MetadataOnly

Privileges

IncludeRelationships8Use this to retrieve entity information plus relationships for the entity.

The retrieved entity metadata includes the following properties:

MetadataOnly

ReferencesFrom

ReferencesTo


Remarks

The value of this enumeration depends on whether you access it from the WSDL or from the Microsft.Crm.Sdk assembly. To avoid errors, you should use the enumeration value. Do not convert the enumeration value to an integer.

Requirements

Web service: MetadataService

See Also

Reference


© 2010 Microsoft Corporation. All rights reserved.


Show: