Share via


ProfileSubtypeManager.CreateSubtype method

Creates and returns a subtype, with the specified name and display name, for the specified profile type.

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

Syntax

'Declaration
Public Function CreateSubtype ( _
    name As String, _
    displayName As String, _
    typeID As ProfileType _
) As ProfileSubtype
'Usage
Dim instance As ProfileSubtypeManager
Dim name As String
Dim displayName As String
Dim typeID As ProfileType
Dim returnValue As ProfileSubtype

returnValue = instance.CreateSubtype(name, _
    displayName, typeID)
public ProfileSubtype CreateSubtype(
    string name,
    string displayName,
    ProfileType typeID
)

Parameters

Return value

Type: Microsoft.Office.Server.UserProfiles.ProfileSubtype

See also

Reference

ProfileSubtypeManager class

ProfileSubtypeManager members

Microsoft.Office.Server.UserProfiles namespace