---
title: "SMCopyAllJobDictionaries(_:)"
framework: Service Management
role: symbol
role_heading: Function
platforms: [iOS 3.0+, iPadOS 3.0+, Mac Catalyst 13.1+, macOS 10.6+]
path: "servicemanagement/smcopyalljobdictionaries(_:)"
---

# SMCopyAllJobDictionaries(_:)

Copies the job description dictionaries for all jobs in the specified domain.

## Declaration

```swift
func SMCopyAllJobDictionaries(_ domain: CFString!) -> Unmanaged<CFArray>!
```

## Parameters

- `domain`: The job’s domain (for example, doc://com.apple.servicemanagement/documentation/ServiceManagement/kSMDomainSystemLaunchd).

## Return Value

Return Value A new array containing all job dictionaries, or NULL if an error occurred. The caller must release the array.

## See Also

### Deprecated Functions

- [SMJobCopyDictionary(_:_:)](servicemanagement/smjobcopydictionary(_:_:).md)
- [SMJobRemove(_:_:_:_:_:)](servicemanagement/smjobremove(_:_:_:_:_:).md)
- [SMJobSubmit(_:_:_:_:)](servicemanagement/smjobsubmit(_:_:_:_:).md)
