---
title: "SCDynamicStoreSetMultiple(_:_:_:_:)"
framework: systemconfiguration
role: symbol
role_heading: Function
path: "systemconfiguration/scdynamicstoresetmultiple(_:_:_:_:)"
---

# SCDynamicStoreSetMultiple(_:_:_:_:)

Updates multiple values in the dynamic store.

## Declaration

```swift
func SCDynamicStoreSetMultiple(_ store: SCDynamicStore?, _ keysToSet: CFDictionary?, _ keysToRemove: CFArray?, _ keysToNotify: CFArray?) -> Bool
```

## Parameters

- `store`: The dynamic store session.
- `keysToSet`: A dictionary of key-value pairs to add to the dynamic store.
- `keysToRemove`: An array of keys to remove from the dynamic store.
- `keysToNotify`: An array of keys to flag as changed (without changing their values).

## Return Value

Return Value TRUE if the dynamic store updates were successful; otherwise, FALSE.

## See Also

### Adding or Updating Keys and Values

- [SCDynamicStoreAddTemporaryValue(_:_:_:)](systemconfiguration/scdynamicstoreaddtemporaryvalue(_:_:_:).md)
- [SCDynamicStoreAddValue(_:_:_:)](systemconfiguration/scdynamicstoreaddvalue(_:_:_:).md)
- [SCDynamicStoreSetValue(_:_:_:)](systemconfiguration/scdynamicstoresetvalue(_:_:_:).md)
