Partilhar via


Propriedade EntityMetadata.ActivityTypeMask

Aplica-se a: CRM 2015 on-prem, CRM Online

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

Namespace: Microsoft.Xrm.Sdk.Metadata
Assembly: Microsoft.Xrm.Sdk (em Microsoft.Xrm.Sdk.dll)

Sintaxe

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

Valor de Propriedade

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

Comentários

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.

Segurança do Thread

Todos os membros estáticos (Shared in Visual Basic) desse tipo são protegidos por thread. Não há nenhum garantia de que os membros de instância sejam protegidos por thread.

Plataformas

Plataformas de desenvolvimento

Windows Vista, Windows Server 2003 e

Plataformas de destino

Windows Vista,Windows XP

Consulte também

Referência

Classe EntityMetadata
Membros de EntityMetadata
Namespace Microsoft.Xrm.Sdk.Metadata

Outros recursos

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.