# CollectionAgeLimitAttribute Properties

[Type overview](/orleans/docs/api/csharp/microsoft.orleans.core/orleans.collectionagelimitattribute/)

## AgeLimit {#agelimit-0fbe7d69}

[Dedicated page](/orleans/docs/api/csharp/microsoft.orleans.core/orleans.collectionagelimitattribute/properties/agelimit-0fbe7d69/)

[Source](https://github.com/dotnet/orleans/blob/e4e752cedecc2976811db49802c7a999b1f1c704/src/Orleans.Core/Configuration/CollectionAgeLimitAttribute.cs#L58)

```csharp
public TimeSpan AgeLimit
```

Gets the idle activation collection age.

## AlwaysActive {#alwaysactive-36e67bbf}

[Dedicated page](/orleans/docs/api/csharp/microsoft.orleans.core/orleans.collectionagelimitattribute/properties/alwaysactive-36e67bbf/)

[Source](https://github.com/dotnet/orleans/blob/e4e752cedecc2976811db49802c7a999b1f1c704/src/Orleans.Core/Configuration/CollectionAgeLimitAttribute.cs)

```csharp
public bool AlwaysActive
```

Gets or sets a value indicating whether this grain should never be collected by the idle activation collector.

## Days {#days-0eaeb74c}

[Dedicated page](/orleans/docs/api/csharp/microsoft.orleans.core/orleans.collectionagelimitattribute/properties/days-0eaeb74c/)

[Source](https://github.com/dotnet/orleans/blob/e4e752cedecc2976811db49802c7a999b1f1c704/src/Orleans.Core/Configuration/CollectionAgeLimitAttribute.cs)

```csharp
public double Days
```

Gets or sets the number of days to delay collecting an idle activation for.

## Hours {#hours-f16d44c2}

[Dedicated page](/orleans/docs/api/csharp/microsoft.orleans.core/orleans.collectionagelimitattribute/properties/hours-f16d44c2/)

[Source](https://github.com/dotnet/orleans/blob/e4e752cedecc2976811db49802c7a999b1f1c704/src/Orleans.Core/Configuration/CollectionAgeLimitAttribute.cs)

```csharp
public double Hours
```

Gets or sets the number of hours to delay collecting an idle activation for.

## Minutes {#minutes-fc46f740}

[Dedicated page](/orleans/docs/api/csharp/microsoft.orleans.core/orleans.collectionagelimitattribute/properties/minutes-fc46f740/)

[Source](https://github.com/dotnet/orleans/blob/e4e752cedecc2976811db49802c7a999b1f1c704/src/Orleans.Core/Configuration/CollectionAgeLimitAttribute.cs)

```csharp
public double Minutes
```

Gets or sets the number of minutes to delay collecting an idle activation for.
