Partilhar via


SP.ChangeType Enumeration

Applies to: SharePoint Foundation 2010

Enumeration of the possible types of changes.

Values

Name

Description

noChange

Enumeration whose values indicate that no change has taken place. The value = 0.

add

Enumeration whose values specify that an object has been added within the scope of a list, site, site collection, or content database. The value = 1.

update

Enumeration whose values specify that an object has been modified within the scope of a list, site, site collection, or content database. The value = 2.

deleteObject

Enumeration whose values specify that an object has been deleted within the scope of a list, site, site collection, or content database. The value = 3.

rename

Enumeration whose values specify that the leaf in a URL has been renamed. The value = 4.

moveAway

Enumeration whose values specify that a non-leaf section within a URL has been renamed. The object was moved away from the location within the site specified by the change. The value = 5.

moveInto

Enumeration whose values specify that a non-leaf section within a URL has been renamed. The object was moved into the location within the site specified by the change. The value = 6.

restore

Enumeration whose values specify that an object has restored from a backup or from the recycle bin. The value = 7.

roleAdd

Enumeration whose values specify that a role definition has been added. The value = 8.

roleDelete

Enumeration whose values specify that a role definition has been deleted. The value = 9.

roleUpdate

Enumeration whose values specify that a role definition has been updated. The value = 10.

assignmentAdd

Enumeration whose values specify that a user has been given permissions to a list. The value = 11.

The list must have unique permissions enabled.

assignmentDelete

Enumeration whose values specify that a user has lost permissions to a list. The value = 12.

The list must have unique permissions enabled.

memberAdd

Enumeration whose values specify that a user has been added to a group. The value = 13.

memberDelete

Enumeration whose values specify that a user has been removed from a group. The value = 14.

systemUpdate

Enumeration whose values specify that a change has been made to an item using the SystemUpdate method. The value = 15.

navigation

Enumeration whose values specify that a change in the navigation structure of a site collection has been made. The value = 16.

scopeAdd

Enumeration whose values specify that a change in permissions scope has been made to break inheritance from an object’s parent. The value = 17.

scopeDelete

Enumeration whose values specify that a change in permissions scope has been made to revert back to inheriting permissions from an object’s parent. The value = 18.

listContentTypeAdd

listContentTypeDelete

See Also

Reference

SP Namespace