ProfileSubtypeManager.GetProfileSubtype method (String)

Retrieves the profile subtype with the specified name.

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

public ProfileSubtype GetProfileSubtype(
	string subtypeName
)

Parameters

subtypeName
Type: System.String

A string that represents the name of the subtype to retrieve.

Return value

Type: Microsoft.Office.Server.UserProfiles.ProfileSubtype
A ProfileSubtype with the specified subtype name.

ExceptionCondition
ArgumentNullException

The subtypeName parameter is a null reference (Nothing in Visual Basic).

Show: