---
title: "SCNetworkConnectionUnscheduleFromRunLoop(_:_:_:)"
framework: systemconfiguration
role: symbol
role_heading: Function
path: "systemconfiguration/scnetworkconnectionunschedulefromrunloop(_:_:_:)"
---

# SCNetworkConnectionUnscheduleFromRunLoop(_:_:_:)

Unschedules the specified connection from the specified run loop.

## Declaration

```swift
func SCNetworkConnectionUnscheduleFromRunLoop(_ connection: SCNetworkConnection, _ runLoop: CFRunLoop, _ runLoopMode: CFString) -> Bool
```

## Parameters

- `connection`: The network connection to unschedule.
- `runLoop`: The run loop from which to unschedule the network connection.
- `runLoopMode`: The run loop mode.

## Return Value

Return Value TRUE if the connection is unscheduled successfully; FALSE (use the SCError() function to retrieve the specific error).

## See Also

### Scheduling a Connection Reference on a Run Loop

- [SCNetworkConnectionScheduleWithRunLoop(_:_:_:)](systemconfiguration/scnetworkconnectionschedulewithrunloop(_:_:_:).md)
