<!--
{
  "availability" : [
    "macOS: 11.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "FileProvider",
  "identifier" : "/documentation/FileProvider/NSFileProviderManager/DisconnectionOptions",
  "metadataVersion" : "0.1.0",
  "role" : "Structure",
  "symbol" : {
    "kind" : "Structure",
    "modules" : [
      "File Provider",
      "FileProvider"
    ],
    "preciseIdentifier" : "c:@E@NSFileProviderManagerDisconnectionOptions"
  },
  "title" : "NSFileProviderManager.DisconnectionOptions"
}
-->

# NSFileProviderManager.DisconnectionOptions

Options for disconnecting a domain from the extension.

```
struct DisconnectionOptions
```

## Overview

Use an empty set to indicate that the disconnection isn’t temporary, such as when the user logs out.

## Topics

### Choosing Disconnection Options

[`temporary`](/documentation/FileProvider/NSFileProviderManager/DisconnectionOptions/temporary)

A temporary disconnection.

### Creating Disconnection Options

[`init(rawValue:)`](/documentation/FileProvider/NSFileProviderManager/DisconnectionOptions/init(rawValue:))

Initializes the options from the raw value.



---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)