다음을 통해 공유


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