다음을 통해 공유


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