共用方式為


CustomCodeSettings.AllowExternalCode Property

 

Applies To: Dynamics 365 (online), Dynamics 365 (on-premises), Dynamics CRM 2016, Dynamics CRM Online

Gets or sets whether plug-ins and custom workflow activities can be registered on the server.

Namespace:   Microsoft.Xrm.Sdk.Deployment
Assembly:  Microsoft.Xrm.Sdk.Deployment (in Microsoft.Xrm.Sdk.Deployment.dll)

Syntax

[DataMemberAttribute]
public bool AllowExternalCode { get; set; }
<DataMemberAttribute>
Public Property AllowExternalCode As Boolean

Property Value

Type: System.Boolean

Type: Boolean
true if the plug-ins and custom workflow activities can be registered on the server; otherwise, false.

Remarks

You can also use Windows PowerShell to set this. For more information, see Enable or disable custom code.

See Also

CustomCodeSettings Class
Microsoft.Xrm.Sdk.Deployment Namespace
Custom workflow activities (workflow assemblies)

Return to top

Microsoft Dynamics 365

© 2016 Microsoft. All rights reserved. Copyright