应用到: CRM 2015 on-prem, CRM Online
Describes the security type for the relationship.
命名空间: Microsoft.Xrm.Sdk.Metadata
程序集: Microsoft.Xrm.Sdk (在 Microsoft.Xrm.Sdk.dll 中)
语法
声明
<FlagsAttribute> _
<DataContractAttribute(Name:="SecurityTypes", Namespace:="https://schemas.microsoft.com/xrm/2011/Metadata")> _
Public Enumeration SecurityTypes
[FlagsAttribute]
[DataContractAttribute(Name="SecurityTypes", Namespace="https://schemas.microsoft.com/xrm/2011/Metadata")]
public enum SecurityTypes
成员
| 成员名称 | 描述 |
|---|---|
| Append | The Append and AppendTo privileges are checked for create or update operations. Value = 1. |
| Inheritance | The referencing entity record inherits security from the referenced security record. Value = 8. |
| None | No security privileges are checked during create or update operations. Value = 0. |
| ParentChild | Security for the referencing entity record is derived from the referenced entity record. Value = 2. |
| Pointer | Security for the referencing entity record is derived from a pointer record. Value = 4. |
备注
This enumeration is used for the RelationshipMetadataBase.SecurityTypes property. This value is set by the system. You should not set this value.
平台
开发平台
Windows Vista、Windows Server 2003 和
目标平台
Windows Vista,Windows XP
另请参阅
参考
Microsoft.Xrm.Sdk.Metadata 命名空间
RelationshipMetadataBase 类
RelationshipMetadataBase.SecurityTypes 属性
其他资源
Customize Entity Relationship Metadata
Send comments about this topic to Microsoft.
© 2014 Microsoft Corporation. All rights reserved.