Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

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:
© 2015 Microsoft