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 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
serviceContext
Type: Microsoft.SharePoint.SPServiceContextThe SPServiceContext object for which to retrieve the ProfileSubtypeManager object.
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). |