Del via


EntityMetadata.ActivityTypeMask-egenskab

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

Navneområde: Microsoft.Xrm.Sdk.Metadata
Assembly: Microsoft.Xrm.Sdk (i Microsoft.Xrm.Sdk.dll)

Syntaks

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

Egenskabsværdi

Type: Kan være nul<Int32>
The value indicates whether a custom activity should appear in the activity menus in the Web application.

Bemærkninger

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.

Sikkerhed i tråd

Alle offentlige statiske (Shared i Visual Basic) medlemmer af denne type er trådsikret. Alle medlemmer af forekomsten er ikke garanteret trådsikkerhed.

Platforme

Development Platforms

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see System Requirements.

Target Platforms

Windows Server 2008,Windows Server 2012,Windows 7

Se også

Reference

EntityMetadata-klasse
EntityMetadata-medlemmer
Microsoft.Xrm.Sdk.Metadata-navneområde

Andre ressourcer

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

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