Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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.StringA 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). |