Skip to content

Commit

Permalink
Update V12 remove ContentSchedule
Browse files Browse the repository at this point in the history
  • Loading branch information
marcemarc authored Jun 30, 2023
1 parent f3738f6 commit 6c25a1a
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions 12/umbraco-cms/reference/management/models/content.md
Original file line number Diff line number Diff line change
Expand Up @@ -90,16 +90,6 @@ var content = contentService.GetById(1234);
return content.ContentTypeId;
```

### .ContentSchedule

Returns the `ContentScheduleCollection`.

```csharp
// Given a `ContentService` object get Content by its Id and return the content schedule
var content = contentService.GetById(1234);
return content.ContentSchedule;
```

### .Id

Returns the unique `Content` Id as a `Int`, this ID is based on a Database identity field, and is therefore not safe to reference in code which are moved between different instances, use Key instead.
Expand Down

0 comments on commit 6c25a1a

Please sign in to comment.