다음을 통해 공유


UserProfileChangeToken Constructor (ServerContext, ProfileType)

NOTE: This API is now obsolete.

Initializes a new instance of the UserProfileChangeToken class.

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, _
    profileType As ProfileType _
)
'Usage
Dim serverContext As ServerContext
Dim profileType As ProfileType

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

Parameters

See Also

Reference

UserProfileChangeToken Class

UserProfileChangeToken Members

UserProfileChangeToken Overload

Microsoft.Office.Server.UserProfiles Namespace