---
title: destination_type
framework: endpointsecurity
role: symbol
role_heading: Instance Property
path: endpointsecurity/es_event_create_t/destination_type
---

# destination_type

The type of destination for the event, which can be either an existing file or information that describes a new file’s pending location.

## Declaration

```swift
var destination_type: es_destination_type_t
```

## Discussion

Discussion Use the value of this member to parse the destination union.

## See Also

### Inspecting Event Properties

- [destination](endpointsecurity/es_event_create_t/destination.md)
- [es_destination_type_t](endpointsecurity/es_destination_type_t.md)
- [reserved2](endpointsecurity/es_event_create_t/reserved2.md)
