# allowedInstanceIds

> IEnumerable of integers that contains the instanceIds of objects that the search can include in its results.

## Definition

* **Type:** Property
* **Namespace:** [UnityEditor.SearchService](/engine/6000.6/script-reference/unityeditor/searchservice.md)
* **Assembly:** UnityEditor.CoreModule

> **Warning:**
>
> **Removed.** allowedInstanceIds is deprecated. Use allowedEntityIds instead.

```csharp
public IEnumerable<int> allowedInstanceIds { get; set; }
```
