다음을 통해 공유


UserProfileAnniversaryChange Class

Represents the anniversary of a user's date property, such as their birthday. The event is fires once per year.

Inheritance Hierarchy

System.Object
  Microsoft.Office.Server.UserProfiles.ProfileBaseChange
    Microsoft.Office.Server.UserProfiles.UserProfileChange
      Microsoft.Office.Server.UserProfiles.UserProfilePropertyValueChange
        Microsoft.Office.Server.UserProfiles.UserProfileAnniversaryChange

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

Syntax

'Declaration
<SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel := True)> _
<SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel := True)> _
Public Class UserProfileAnniversaryChange _
    Inherits UserProfilePropertyValueChange
'Usage
Dim instance As UserProfileAnniversaryChange
[SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel = true)]
[SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel = true)]
public class UserProfileAnniversaryChange : UserProfilePropertyValueChange

Remarks

Microsoft Office SharePoint Server 2007 treats all date fields in the user profile as are anniversaries. When a date in the user's profile matches the current date (based on server time), Office SharePoint Server 2007 creates a new anniversary event.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

UserProfileAnniversaryChange Members

Microsoft.Office.Server.UserProfiles Namespace