다음을 통해 공유


Records Members

Include Protected Members
Include Inherited Members

The Records class defines utility functions associated with Record items.

The Records type exposes the following members.

Methods

  Name Description
Public methodStatic member BulkDeclareItemsAsRecords Declares a collection of items as records.
Public methodStatic member BulkUndeclareItemsAsRecords Undeclares a collection of items as records.
Public methodStatic member BypassLocks Bypasses the record lock in order to perform an operation on the specified SPListItem object.
Public methodStatic member ConfigureListForAutoDeclaration Configures record auto-declaration setting for a list-- whether the items uploaded to the list will be automtically declared as record.
Public methodStatic member DeclareItemAsRecord Declares the specified item as a record.
Public methodStatic member DeleteAllPreviousVersionsOfListItem Deletes all previous version of the specified list item.
Public methodStatic member GetDeclareByPermissionsForSite Get record declaration permissions setting for the specified site.
Public methodStatic member GetRecordDefinitionForSite(SPSite) Gets the record restrictions setting for the specified site.
Public methodStatic member GetRecordDefinitionForSite(Guid) Obsolete. Gets the record restrictions setting for the site with the specified GUID.
Public methodStatic member GetUndeclareByPermissionsForSite Gets the record undeclaration permissions setting for the specified site.
Public methodStatic member IsDeleteBlocked Gets whether deletion is blocked for the specified SPListItem object.
Public methodStatic member IsInPlaceRecordsEnabled(SPList) Checks whether the specified list has been enabled for in-place records.
Public methodStatic member IsInPlaceRecordsEnabled(SPSite) Checks whether the specified site has been enabled for in-place records.
Public methodStatic member IsLocked Checks whether the specified item is locked down to prevent editing and deletion.
Public methodStatic member IsOnHold Check whether the specified item is placed on a legal hold.
Public methodStatic member IsRecord Checks whether the specified item is a record.
Public methodStatic member LockItem(SPListItem, String)
Public methodStatic member LockItem(SPListItem, String, SPList, SPWeb, SPSite) Locks down an item.
Public methodStatic member RecordDeclarationDate Gets the record declaration date of the specified item.
Public methodStatic member RegisterCustomCodeForRecordDeclaration Registers a custom record processing handler class to the specified site.
Public methodStatic member SetRecordDefinitionForSite(SPSite, RecordRestrictions) Sets record restrictions setting for the specified site.
Public methodStatic member SetRecordDefinitionForSite(Guid, RecordRestrictions) Obsolete. Sets record restrictions setting for the site with the specified GUID
Public methodStatic member UndeclareItemAsRecord Undeclares the specified item.
Public methodStatic member UnlockItem Unlocks the specified item from the specified lock.

Top

See Also

Reference

Records Class

Microsoft.Office.RecordsManagement.RecordsRepository Namespace