Share via


UserProfileManager Constructor (ServerContext)

NOTE: This API is now obsolete.

Initializes a new instance of the UserProfileManager class for the specified server context.

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

Syntax

'Declaration
<ObsoleteAttribute("ServerContext parameter is obsolete, use SPServiceContext instead.")> _
Public Sub New ( _
    serverContext As ServerContext _
)
'Usage
Dim serverContext As ServerContext

Dim instance As New UserProfileManager(serverContext)
[ObsoleteAttribute("ServerContext parameter is obsolete, use SPServiceContext instead.")]
public UserProfileManager(
    ServerContext serverContext
)

Parameters

See Also

Reference

UserProfileManager Class

UserProfileManager Members

UserProfileManager Overload

Microsoft.Office.Server.UserProfiles Namespace