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

# SMJobCopyDictionary(_:_:)

Copies the job description dictionary for the specified job label.

## Declaration

```swift
func SMJobCopyDictionary(_ domain: CFString!, _ jobLabel: CFString) -> Unmanaged<CFDictionary>!
```

## Parameters

- `domain`: The job’s domain (for example, doc://com.apple.servicemanagement/documentation/ServiceManagement/kSMDomainSystemLaunchd).
- `jobLabel`: The label identifier of the job to copy.

## Return Value

Return Value A new dictionary describing the job, or NULL if the system couldn’t find the job. The caller must release the dictionary.

## See Also

### Deprecated Functions

- [SMCopyAllJobDictionaries(_:)](servicemanagement/smcopyalljobdictionaries(_:).md)
- [SMJobRemove(_:_:_:_:_:)](servicemanagement/smjobremove(_:_:_:_:_:).md)
- [SMJobSubmit(_:_:_:_:)](servicemanagement/smjobsubmit(_:_:_:_:).md)
