diff --git a/sdk/tables/Azure.Data.Tables/CHANGELOG.md b/sdk/tables/Azure.Data.Tables/CHANGELOG.md index 5cc9238117244..4daae2bfe1d19 100644 --- a/sdk/tables/Azure.Data.Tables/CHANGELOG.md +++ b/sdk/tables/Azure.Data.Tables/CHANGELOG.md @@ -10,6 +10,7 @@ - Fixed an issue where LINQ predicates containing New expressions, such as `ent => ent.TimeStamp > new DateTimeOffset(...)`, threw an exception. ### Other Changes +- `TableClient.CreateIfNotExists` / `TableClient.CreateIfNotExistsAsync` documentation corrected (methods do not return `null` if the table already exists) ## 12.7.1 (2022-12-06) diff --git a/sdk/tables/Azure.Data.Tables/src/TableClient.cs b/sdk/tables/Azure.Data.Tables/src/TableClient.cs index 7566a299d75cb..236d26dd9d710 100644 --- a/sdk/tables/Azure.Data.Tables/src/TableClient.cs +++ b/sdk/tables/Azure.Data.Tables/src/TableClient.cs @@ -478,7 +478,7 @@ public virtual async Task> CreateAsync(CancellationToken can /// /// A controlling the request lifetime. /// The server returned an error. See for details returned from the server. - /// If the table does not already exist, a . If the table already exists, null. + /// A containing properties of the table. If the table already exists, then is 409. public virtual Response CreateIfNotExists(CancellationToken cancellationToken = default) { using DiagnosticScope scope = _diagnostics.CreateScope($"{nameof(TableClient)}.{nameof(CreateIfNotExists)}"); @@ -517,7 +517,7 @@ public virtual Response CreateIfNotExists(CancellationToken cancellat /// /// A controlling the request lifetime. /// The server returned an error. See for details returned from the server. - /// If the table does not already exist, a . If the table already exists, null. + /// A containing properties of the table. If the table already exists, then is 409. public virtual async Task> CreateIfNotExistsAsync(CancellationToken cancellationToken = default) { using DiagnosticScope scope = _diagnostics.CreateScope($"{nameof(TableClient)}.{nameof(CreateIfNotExists)}");