---
title: "SCNetworkConnectionCopyExtendedStatus(_:)"
framework: systemconfiguration
role: symbol
role_heading: Function
path: "systemconfiguration/scnetworkconnectioncopyextendedstatus(_:)"
---

# SCNetworkConnectionCopyExtendedStatus(_:)

Returns the extended status of the connection.

## Declaration

```swift
func SCNetworkConnectionCopyExtendedStatus(_ connection: SCNetworkConnection) -> CFDictionary?
```

## Parameters

- `connection`: The network connection.

## Return Value

Return Value The status dictionary, or NULL if an error occurred (use the SCError() function to retrieve the specific error).

## Discussion

Discussion An extended status dictionary contains specific dictionaries describing the status for each subcomponent of the service. For example, a status dictionary contains the following sub-dictionaries, keys, and values:  |  |   |  |   |  |   |  |   |  |   |  |  Other dictionaries can be present for PPoE, PPTP, and L2TP. The status dictionary may be extended in the future to contain additional information.

## See Also

### Getting Connection-Status Information

- [SCNetworkConnectionGetTypeID()](systemconfiguration/scnetworkconnectiongettypeid().md)
- [SCNetworkConnectionCopyUserPreferences(_:_:_:)](systemconfiguration/scnetworkconnectioncopyuserpreferences(_:_:_:).md)
- [SCNetworkConnectionCopyServiceID(_:)](systemconfiguration/scnetworkconnectioncopyserviceid(_:).md)
- [SCNetworkConnectionGetStatus(_:)](systemconfiguration/scnetworkconnectiongetstatus(_:).md)
- [SCNetworkConnectionCopyStatistics(_:)](systemconfiguration/scnetworkconnectioncopystatistics(_:).md)
- [SCNetworkConnectionCopyUserOptions(_:)](systemconfiguration/scnetworkconnectioncopyuseroptions(_:).md)
