<!--
{
  "availability" : [
    "macOS: 10.3.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "SystemConfiguration",
  "identifier" : "/documentation/SystemConfiguration/SCNetworkConnectionUnscheduleFromRunLoop(_:_:_:)",
  "metadataVersion" : "0.1.0",
  "role" : "Function",
  "symbol" : {
    "kind" : "Function",
    "modules" : [
      "System Configuration"
    ],
    "preciseIdentifier" : "c:@F@SCNetworkConnectionUnscheduleFromRunLoop"
  },
  "title" : "SCNetworkConnectionUnscheduleFromRunLoop(_:_:_:)"
}
-->

# SCNetworkConnectionUnscheduleFromRunLoop(_:_:_:)

Unschedules the specified connection from the specified run loop.

```
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

`TRUE` if the connection is unscheduled successfully; `FALSE` (use the [`SCError()`](/documentation/SystemConfiguration/SCError()) function to retrieve the specific error).

## Discussion

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)