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
- serverContext
Type: Microsoft.Office.Server.ServerContext
- profileType
Type: Microsoft.Office.Server.UserProfiles.ProfileType
See Also
Reference
UserProfileChangeToken Members