---
title: "checkDomainsCanBeStoredOnVolume(at:)"
framework: fileprovider
role: symbol
role_heading: Type Method
path: "fileprovider/nsfileprovidermanager/checkdomainscanbestoredonvolume(at:)"
---

# checkDomainsCanBeStoredOnVolume(at:)

Checks whether the specified URL is eligible for storing a domain.

## Declaration

```swift
class func checkDomainsCanBeStoredOnVolume(at url: URL) throws -> NSFileProviderManager.EligibilityResult
```

## See Also

### Working with external volumes

- [stateDirectoryURL()](fileprovider/nsfileprovidermanager/statedirectoryurl().md)
- [NSFileProviderManager.EligibilityResult](fileprovider/nsfileprovidermanager/eligibilityresult.md)
- [NSFileProviderExternalVolumeHandling](fileprovider/nsfileproviderexternalvolumehandling.md)
