다음을 통해 공유


ProfileSubtypeProperty Class

Defines a profile subtype property.

Inheritance Hierarchy

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

Namespace:  Microsoft.Office.Server.UserProfiles
Assembly:  Microsoft.Office.Server.UserProfiles (in Microsoft.Office.Server.UserProfiles.dll)

Syntax

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

Remarks

Use this class to set properties for profile subtypes created under ProfileType. Subtype properties based on the same ProfileType property can share type-level attributes. For example, profile import occurs at type level, so if different subtypes under the User type share a property (such as phone number), that property is imported for all the User subtypes (such as employees and customers). Use this class, with CoreProperty and ProfileTypeProperty, instead of Property.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

ProfileSubtypeProperty Members

Microsoft.Office.Server.UserProfiles Namespace