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
This `Set-CleanupIntervalInDays` PowerShell function retrieves the `recyclebinconfig` row that has the name value that matches the `$tableLogicalName` parameter. Then it updates the `cleanupintervalindays` column property of the record to the value of the `$cleanupIntervalInDays` parameter.
485
+
This `Set-CleanupIntervalInDays` PowerShell function retrieves the `recyclebinconfig` row that has the entityId that matches the `$tableEntityId` parameter. Then it updates the `cleanupintervalindays` column property of the record to the value of the `$cleanupIntervalInDays` parameter.
486
486
487
487
This function depends on the `Get-Records` and `Update-Record` functions described in [Create table operations functions](webapi/use-ps-and-vscode-web-api.md#create-table-operations-functions).
@@ -509,7 +509,7 @@ function Set-CleanupIntervalInDays{
509
509
}
510
510
}
511
511
else {
512
-
Write-Host "Recycle bin configuration for table $tableLogicalName not found."
512
+
Write-Host "Recycle bin configuration for table $tableEntityId not found."
513
513
}
514
514
}
515
515
```
@@ -525,7 +525,7 @@ function Set-CleanupIntervalInDays{
525
525
To disable the recycle bin for a table, disable the `recyclebinconfig` record for the table by setting the [statecode](reference/entities/recyclebinconfig.md#BKMK_statecode) and [statuscode](reference/entities/recyclebinconfig.md#BKMK_statuscode) properties to their **Inactive** values: `2` and `1` respectively.
526
526
527
527
> [!NOTE]
528
-
> The following queries compare the `LogicalName` value against the [Entity.Name](reference/entities/entity.md#BKMK_Name) column value, which stores the table `SchemaName`. `LogicalName` is the lower-case version of the `SchemaName`. String value comparisons are case insensitive, so it does't matter which format of name you use.
528
+
> The following queries compare the `EntityId` value against the [Entity.EntityId](reference/entities/entity.md#-entityid) column value, which stores the table `EntityId`.
529
529
530
530
### [SDK for .NET](#tab/sdk)
531
531
@@ -536,18 +536,18 @@ Use this static `DisableRecycleBinForTable` method to disable the recycle bin fo
0 commit comments