Condividi tramite


Proprietà EntityMetadata.ActivityTypeMask

Si applica a: CRM 2015 on-prem, CRM Online

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

Spazio dei nomi: Microsoft.Xrm.Sdk.Metadata
Assembly: Microsoft.Xrm.Sdk (in Microsoft.Xrm.Sdk.dll)

Sintassi

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

Valore proprietà

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

Note

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.

Thread Safety

Tutti i membri statici pubblici (Shared in Visual Basic) di questo tipo sono thread-safe. Non è garantito che i membri di istanza siano thread-safe.

Piattaforme

Piattaforme di sviluppo

Windows Vista, Windows Server 2003 e

Piattaforme di destinazione

Windows Vista,Windows XP

Vedere anche

Riferimento

Classe EntityMetadata
Membri EntityMetadata
Spazio dei nomi Microsoft.Xrm.Sdk.Metadata

Altre risorse

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.