Partilhar via


UserProfileConfigManager Constructor (SPServiceContext)

Initializes a new instance of the UserProfileConfigManager class with the specified SPServiceContext.

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

Syntax

'Declaration
Public Sub New ( _
    serviceContext As SPServiceContext _
)
'Usage
Dim serviceContext As SPServiceContext

Dim instance As New UserProfileConfigManager(serviceContext)
public UserProfileConfigManager(
    SPServiceContext serviceContext
)

Parameters

Remarks

Use the constructor with the SPServiceContext parameter instead of the obsolete constructor that uses the ServerContext parameter.

See Also

Reference

UserProfileConfigManager Class

UserProfileConfigManager Members

UserProfileConfigManager Overload

Microsoft.Office.Server.UserProfiles Namespace