Removes the specified network service from the specified set.
SDK
- macOS 10.4+
Framework
- System
Configuration
Declaration
func SCNetworkSetRemoveService(_ set: SCNetwork Set, _ service: SCNetwork Service) -> Bool
Parameters
set
The set (the complete configuration for a single location).
service
The service to remove.
Return Value
TRUE
if the service was removed from the set; FALSE
if the service was not already present or an error occurred.