---
title: NSPersistentStoreTimeoutOption
framework: coredata
role: symbol
role_heading: Global Variable
path: coredata/nspersistentstoretimeoutoption
---

# NSPersistentStoreTimeoutOption

Options key that specifies the connection timeout for Core Data stores.

## Declaration

```swift
let NSPersistentStoreTimeoutOption: String
```

## Discussion

Discussion The corresponding value is an NSNumber object that represents the duration in seconds that Core Data will wait while attempting to create a connection to a persistent store. If a connection is cannot be made within that timeframe, the operation is aborted and an error is returned.

## See Also

### Constants

- [NSReadOnlyPersistentStoreOption](coredata/nsreadonlypersistentstoreoption.md)
- [NSValidateXMLStoreOption](coredata/nsvalidatexmlstoreoption.md)
- [NSSQLitePragmasOption](coredata/nssqlitepragmasoption.md)
- [NSSQLiteAnalyzeOption](coredata/nssqliteanalyzeoption.md)
- [NSSQLiteManualVacuumOption](coredata/nssqlitemanualvacuumoption.md)
- [NSPersistentStoreFileProtectionKey](coredata/nspersistentstorefileprotectionkey.md)
- [NSPersistentStoreForceDestroyOption](coredata/nspersistentstoreforcedestroyoption.md)
