Skip to content

Commit 23e0cc2

Browse files
authored
Merge pull request #43875 from mattruma/patch-2
removed unnecessary semi-colon in C# example
2 parents dd09a40 + d632d55 commit 23e0cc2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

articles/cosmos-db/how-to-time-to-live.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ To set the time to live on a container, you need to provide a non-zero positive
8181
DocumentCollection collectionDefinition = new DocumentCollection();
8282
collectionDefinition.Id = "myContainer";
8383
collectionDefinition.PartitionKey.Paths.Add("/myPartitionKey");
84-
collectionDefinition.DefaultTimeToLive = 90 * 60 * 60 * 24; // expire all documents after 90 days
84+
collectionDefinition.DefaultTimeToLive = 90 * 60 * 60 * 24 // expire all documents after 90 days
8585
8686
DocumentCollection ttlEnabledCollection = await client.CreateDocumentCollectionAsync(
8787
UriFactory.CreateDatabaseUri("myDatabaseName"),

0 commit comments

Comments
 (0)