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/sp-add-ins/CSOM methods for applying retention labels
+4-12Lines changed: 4 additions & 12 deletions
Original file line number
Diff line number
Diff line change
@@ -18,12 +18,10 @@ CSOM methods are available to apply (set) a retention label (ComplianceTag) on o
18
18
> Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
19
19
20
20
## SetComplianceTagOnBulkItems
21
+
21
22
This method can be used to set a ComplianceTag on one or many ListItems. It is strongly recommended to use this method for this purpose.
22
23
23
-
<!-- {
24
-
"blockType": "ignored"
25
-
}
26
-
-->
24
+
27
25
```c#
28
26
public List<int> SetComplianceTagOnBulkItems(
29
27
List<int> itemIds,
@@ -32,6 +30,7 @@ public List<int> SetComplianceTagOnBulkItems(
> [!NOTE] It is strongly recommended to use SetComplianceTagOnBulkItems instead of these methods.
55
53
56
54
The following methods are also available, but are no longer updated and may be subject to deprecation in the future. If you are using these methods, we strongly recommend use of the SetComplianceTagOnBulkItems method instead.
0 commit comments