You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/apis/csom-methods-for-applying-retention-labels.md
+92-5Lines changed: 92 additions & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -1,18 +1,18 @@
1
1
---
2
-
title: CSOM methods for applying retention labels
3
-
description: CSOM methods are available to apply (set) a retention label (ComplianceTag) on one or many items (ListItems) in SharePoint.
2
+
title: CSOM methods for retention labels
3
+
description: CSOM methods are available to apply (set) a retention label (ComplianceTag) on one or many items (ListItems) in SharePoint. Also includes settings of retention labels in ODB and SPO.
4
4
author: kyracatwork
5
5
ms.author: kyrachurney
6
-
ms.date: 4/18/2023
6
+
ms.date: 9/30/2024
7
7
---
8
8
9
-
# CSOM methods for applying retention labels (setting ComplianceTags)
9
+
# CSOM methods for applying retention labels and managing settings of record labels
10
10
11
11
Retention labels let you apply retention settings for governance control at the item level, and are part of the Microsoft Purview compliance solutions. [Learn more about retention labels.](/microsoft-365/compliance/retention#retention-labels)
12
12
13
13
Retention labels may classify contents as records, which place restrictions on what actions are allowed or blocked. [Learn more about declaring records by using retention labels](/microsoft-365/compliance/declare-records)
14
14
15
-
CSOM methods are available to apply (set) a retention label (ComplianceTag) on one or many items (ListItems) in SharePoint. Retention labels can be applied using this method without being published to the ___location by an existing label policy.
15
+
CSOM methods are available to apply (set) a retention label (ComplianceTag) on one or many items (ListItems) in SharePoint, and change retention labels settings for deleting, versioning, and changing properties of records. Retention labels can be applied using this method without being published to the ___location by an existing label policy.
16
16
17
17
## SetComplianceTagOnBulkItems
18
18
@@ -34,6 +34,93 @@ public List<int> SetComplianceTagOnBulkItems(
0 commit comments