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)

Syntax

'Declaration
Public Function GetProfileSubtype ( _
    subtypeName As String _
) As ProfileSubtype
'Usage
Dim instance As ProfileSubtypeManager
Dim subtypeName As String
Dim returnValue As ProfileSubtype

returnValue = instance.GetProfileSubtype(subtypeName)
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.

Exceptions

Exception Condition
ArgumentNullException

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

See also

Reference

ProfileSubtypeManager class

ProfileSubtypeManager members

GetProfileSubtype overload

Microsoft.Office.Server.UserProfiles namespace