Partager via


Propriété EntityMetadata.ActivityTypeMask

S'applique à: CRM 2015 on-prem, CRM Online

Gets or sets whether a custom activity should appear in the activity menus in the Web application.

Espace de noms: Microsoft.Xrm.Sdk.Metadata
Assembly: Microsoft.Xrm.Sdk (dans Microsoft.Xrm.Sdk.dll)

Syntaxe

'Déclaration
<DataMemberAttribute> _
Public Property ActivityTypeMask As Nullable(Of Integer)
[DataMemberAttribute] 
public Nullable<int> ActivityTypeMask { get; set; }

Valeur de propriété

Type: Autorise la valeur Null<Int32>
The value indicates whether a custom activity should appear in the activity menus in the Web application.

Remarques

For a custom activity the default value is 1. This means that the custom activity is available in activity menus. Set this property to 0 at the creation of a custom activity to prevent displaying it in the activity menus. This value cannot be updated after the custom activity is created.

Cohérence de thread

Tous les membres statiques publics (Shared dans Visual Basic) de ce type sont thread-safe. Tous les membres d'instance ne sont pas garantis thread-safe.

Plateformes

Plateformes de développement

Windows Vista, Windows Server 2003 et

Plateformes cibles

Windows Vista,Windows XP

Voir aussi

Référence

Classe EntityMetadata
Membres EntityMetadata
Espace de noms Microsoft.Xrm.Sdk.Metadata

Autres ressources

Custom Activities in Microsoft Dynamics CRM
Sample: Create a Custom Activity Entity

Send comments about this topic to Microsoft.
© 2014 Microsoft Corporation. All rights reserved.