# GetView(bool)

> Opens a view on the PropertyDatabase.

## Definition

* **Type:** Method
* **Namespace:** [UnityEditor.Search](/engine/6000.7/script-reference/unityeditor/search.md)
* **Assembly:** UnityEditor

```csharp
public IPropertyDatabaseView GetView(bool delayedSync = false)
```

### Parameters

**** (\[bool]\(https\://learn.microsoft.com/dotnet/api/system.boolean)): Boolean indicating if the sync between views should only happen when the view is disposed, or for every operation.

### Returns

| Type                                                                                                 | Description                                                                                          |
| ---------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------- |
| [IPropertyDatabaseView](/engine/6000.7/script-reference/unityeditor/search/ipropertydatabaseview.md) | The [PropertyDatabase](/engine/6000.7/script-reference/unityeditor/search/propertydatabase.md) view. |

### Remarks

The view handles all the internal file operations and concurrent accesses. All operations on the [PropertyDatabase](/engine/6000.7/script-reference/unityeditor/search/propertydatabase.md) create a view, so for performance reasons you should get a view with [PropertyDatabase.GetView](/engine/6000.7/script-reference/unityeditor/search/propertydatabase/getview.md) and do all your operations with it.

Additional Resources: [IPropertyDatabaseView](/engine/6000.7/script-reference/unityeditor/search/ipropertydatabaseview.md)
