다음을 통해 공유


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