We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 89670bc commit 937155aCopy full SHA for 937155a
samples/code-samples/CollectionManagement/Program.cs
@@ -172,7 +172,7 @@ private static async Task RunCollectionDemo()
172
// NB! Deleting a collection will delete everything linked to the collection.
173
// This includes ALL documents, stored procedures, triggers, udfs
174
//*******************************************************************************
175
- await client.DeleteDocumentCollectionAsync(c1.SelfLink);
+ await client.DeleteDocumentCollectionAsync(UriFactory.CreateDocumentCollectionUri(databaseId, collectionId));
176
177
Console.WriteLine("\n6. Deleted Collection {0}\n", c1.Id);
178
0 commit comments