|
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 | 4 | author: kyracatwork
|
3 | 5 | ms.author: kyrachurney
|
4 | 6 | ms.date: 4/18/2023
|
5 |
| -title: CSOM methods for applying retention labels |
6 |
| -description: CSOM methods are available to apply (set) a retention label (ComplianceTag) on one or many items (ListItems) in SharePoint. |
| 7 | +ms.prod: sharepoint |
7 | 8 | ---
|
8 | 9 |
|
9 | 10 | # CSOM methods for applying retention labels (setting ComplianceTags)
|
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?view=o365-worldwide#retention-labels) |
| 12 | +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 | 13 |
|
13 | 14 | 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 | 15 |
|
@@ -51,22 +52,9 @@ Attribute [RemoteAttribute](/dotnet/api/microsoft.sharepoint.client.remoteattrib
|
51 | 52 | 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.
|
52 | 53 |
|
53 | 54 | * [SetComplianceTag](/dotnet/api/microsoft.sharepoint.client.listitem.setcompliancetag)
|
54 |
| -* [SetComplianceTagWithExplicitMetaInfo](/dotnet/api/microsoft.sharepoint.client.listitem.setcompliancetagwithexplicitmetainfo) |
| 55 | +* [SetComplianceTagWithExplicitMetaInfo](/dotnet/api/microsoft.sharepoint.client.listitem.setcompliancetagwithexplicitmetasupdate) |
55 | 56 | * [SetComplianceTagWithExplicitMetasUpdate](/dotnet/api/microsoft.sharepoint.client.listitem.setcompliancetagwithexplicitmetasupdate)
|
56 | 57 | * [SetComplianceTagWithHold](/dotnet/api/microsoft.sharepoint.client.listitem.setcompliancetagwithhold)
|
57 | 58 | * [SetComplianceTagWithMetaInfo](/dotnet/api/microsoft.sharepoint.client.listitem.setcompliancetagwithmetainfo)
|
58 | 59 | * [SetComplianceTagWithNoHold](/dotnet/api/microsoft.sharepoint.client.listitem.setcompliancetagwithnohold)
|
59 | 60 | * [SetComplianceTagWithRecord](/dotnet/api/microsoft.sharepoint.client.listitem.setcompliancetagwithrecord)
|
60 |
| - |
61 |
| - |
62 |
| - |
63 |
| - |
64 |
| - |
65 |
| - |
66 |
| - |
67 |
| - |
68 |
| - |
69 |
| - |
70 |
| - |
71 |
| - |
72 |
| - |
0 commit comments