---
title: synchronizationMode
framework: virtualization
role: symbol
role_heading: Instance Property
path: virtualization/vzdiskblockdevicestoragedeviceattachment/synchronizationmode
---

# synchronizationMode

The value that defines how the disk synchronizes with the underlying storage when the guest operating system flushes data.

## Declaration

```swift
var synchronizationMode: VZDiskSynchronizationMode { get }
```

## See Also

### Getting the block storage device details

- [fileHandle](virtualization/vzdiskblockdevicestoragedeviceattachment/filehandle.md)
- [isReadOnly](virtualization/vzdiskblockdevicestoragedeviceattachment/isreadonly.md)
