<!--
{
  "availability" : [
    "iOS: 17.0.0 -",
    "iPadOS: 17.0.0 -",
    "macCatalyst: 17.0.0 -",
    "macOS: 14.0.0 -",
    "tvOS: 17.0.0 -",
    "visionOS: -",
    "watchOS: 10.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "CloudKit",
  "identifier" : "/documentation/CloudKit/CKSyncEngine-5sie5/SendChangesOptions/Scope-swift.enum",
  "metadataVersion" : "0.1.0",
  "role" : "Enumeration",
  "symbol" : {
    "kind" : "Enumeration",
    "modules" : [
      "CloudKit"
    ],
    "preciseIdentifier" : "s:8CloudKit12CKSyncEngineC18SendChangesOptionsV5ScopeO"
  },
  "title" : "CKSyncEngine.SendChangesOptions.Scope"
}
-->

# CKSyncEngine.SendChangesOptions.Scope

The scope for sending changes to the server.

```
enum Scope
```

## Topics

### Enumeration Cases

[`case all`](/documentation/CloudKit/CKSyncEngine-5sie5/SendChangesOptions/Scope-swift.enum/all)

Send changes for all zones.

[`case allExcluding([CKRecordZone.ID])`](/documentation/CloudKit/CKSyncEngine-5sie5/SendChangesOptions/Scope-swift.enum/allExcluding(_:))

Send changes for all zones except the given set of zones.

[`case recordIDs([CKRecord.ID])`](/documentation/CloudKit/CKSyncEngine-5sie5/SendChangesOptions/Scope-swift.enum/recordIDs(_:))

Send changes for a specific set of records.

[`case zoneIDs([CKRecordZone.ID])`](/documentation/CloudKit/CKSyncEngine-5sie5/SendChangesOptions/Scope-swift.enum/zoneIDs(_:))

Send changes in a specific set of zones.

### Instance Methods

[`func contains(CKRecord.ID) -> Bool`](/documentation/CloudKit/CKSyncEngine-5sie5/SendChangesOptions/Scope-swift.enum/contains(_:)-59hve)

Returns true if the specified record ID is included in this scope.

[`func contains(CKSyncEngine.PendingRecordZoneChange) -> Bool`](/documentation/CloudKit/CKSyncEngine-5sie5/SendChangesOptions/Scope-swift.enum/contains(_:)-8qiyf)

Returns true if the specified pending record zone change is included in this scope.

## Relationships

### Conforms To

[`Sendable`](/documentation/Swift/Sendable)

[`Equatable`](/documentation/Swift/Equatable)

[`SendableMetatype`](/documentation/Swift/SendableMetatype)

[`Copyable`](/documentation/Swift/Copyable)

[`CustomStringConvertible`](/documentation/Swift/CustomStringConvertible)

[`Escapable`](/documentation/Swift/Escapable)

---

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)