Share via


ProfileSubtypeManager.Get method (SPServiceContext)

Retrieves the ProfileSubtypeManager object for the specified SPServiceContext.

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

Syntax

'Declaration
Public Shared Function Get ( _
    serviceContext As SPServiceContext _
) As ProfileSubtypeManager
'Usage
Dim serviceContext As SPServiceContext
Dim returnValue As ProfileSubtypeManager

returnValue = ProfileSubtypeManager.Get(serviceContext)
public static ProfileSubtypeManager Get(
    SPServiceContext serviceContext
)

Parameters

Return value

Type: Microsoft.Office.Server.UserProfiles.ProfileSubtypeManager
The ProfileSubtypeManager object for the specified SPServiceContext.

Exceptions

Exception Condition
ArgumentNullException

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

See also

Reference

ProfileSubtypeManager class

ProfileSubtypeManager members

Get overload

Microsoft.Office.Server.UserProfiles namespace