ProfileSubtypeProperty 类

定义一个配置文件子类型属性。

继承层次结构

System.Object
  Microsoft.Office.Server.UserProfiles.PropertyBase
    Microsoft.Office.Server.UserProfiles.ProfileSubtypeProperty

命名空间:  Microsoft.Office.Server.UserProfiles
程序集:  Microsoft.Office.Server.UserProfiles(位于 Microsoft.Office.Server.UserProfiles.dll 中)

语法

声明
<SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel := True)> _
<SharePointPermissionAttribute(SecurityAction.Demand, ObjectModel := True)> _
Public NotInheritable Class ProfileSubtypeProperty _
    Inherits PropertyBase _
    Implements IPrivacyPolicyItem
用法
Dim instance As ProfileSubtypeProperty
[SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel = true)]
[SharePointPermissionAttribute(SecurityAction.Demand, ObjectModel = true)]
public sealed class ProfileSubtypeProperty : PropertyBase, 
    IPrivacyPolicyItem

备注

使用此类设置在ProfileType下创建的配置文件子类型的属性。基于相同的ProfileType属性的子属性可共享类型级别的属性。例如,在类型级别发生的配置文件导入因此如果用户下的不同子类型键入共享属性是所有用户子类型 (如,员工和客户) 的导入属性 (如电话号码)。使用此类,用CorePropertyProfileTypeProperty,而不是Property

线程安全性

该类型的任何公共 静态 (已共享 在 Visual Basic 中) 成员都是线程安全的。不保证任何实例成员都是线程安全的。

另请参阅

引用

ProfileSubtypeProperty 成员

Microsoft.Office.Server.UserProfiles 命名空间