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
- name
Type: System.String
- displayName
Type: System.String
- typeID
Type: Microsoft.Office.Server.UserProfiles.ProfileType
Return Value
Type: Microsoft.Office.Server.UserProfiles.ProfileSubtype