CustomCodeSettings.AllowExternalCode 属性

应用到: CRM 2015 on-prem, CRM Online

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

命名空间: Microsoft.Xrm.Sdk.Deployment
程序集: Microsoft.Xrm.Sdk.Deployment (在 Microsoft.Xrm.Sdk.Deployment.dll 中)

语法

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

属性值

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

备注

You can also use Windows PowerShell to set this. For more information, see Enable or Disable Custom Code.

线程安全性

此类型的所有公共静态(Visual Basic 中的 Shared)成员都是线程安全成员。不保证任何实例成员是线程安全成员。

平台

开发平台

Windows Vista、Windows Server 2003 和

目标平台

Windows 98,Windows 2000,Windows 2000 Server,Windows CE,Windows Server 2008,Windows 98 Second Edition,Pocket PC,智能电话,Windows Server 2003,Windows XP Professional,Windows Vista,Windows XP

另请参阅

参考

CustomCodeSettings 类
CustomCodeSettings 成员
Microsoft.Xrm.Sdk.Deployment 命名空间

其他资源

Custom Workflow Activities (Workflow Assemblies)

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