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

# SCNetworkServiceRemoveProtocolType(_:_:)

Removes the network protocol of the specified type from the specified service.

```
func SCNetworkServiceRemoveProtocolType(_ service: SCNetworkService, _ protocolType: CFString) -> Bool
```

## Parameters

`service`

The network service.

`protocolType`

The type of network protocol to remove from the service.

## Return Value

`TRUE` if the protocol was removed to the service; `FALSE` if the protocol was not configured or an error occurred.

---

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)