Function

SCNetworkSetRemoveService

Removes the specified network service from the specified set.

Declaration

Boolean SCNetworkSetRemoveService(SCNetworkSetRef set, SCNetworkServiceRef service);

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.

See Also

Configuring Network Sets

SCNetworkSetAddService

Adds the specified network service to the specified set.

SCNetworkSetContainsInterface

Returns a Boolean value indicating whether the specified interface is represented by at least one network service in the specified set.

SCNetworkSetCopy

Returns the set with the specified identifier.

SCNetworkSetCopyAll

Returns all available sets for the specified preferences session.

SCNetworkSetCopyCurrent

Returns the current set.

SCNetworkSetCopyServices

Returns all network services associated with the specified set.

SCNetworkSetCreate

Creates a new set in the configuration.

SCNetworkSetGetName

Returns the user-specified name associated with the specified set.

SCNetworkSetGetServiceOrder

Returns the user-specified ordering of network services within the specified set.

SCNetworkSetGetSetID

Returns the identifier for the specified set.

SCNetworkSetGetTypeID

Returns the type identifier of all SCNetworkSet instances.

SCNetworkSetRemove

Removes the specified set from the configuration.

SCNetworkSetSetCurrent

Specifies the set that should be the current set.

SCNetworkSetSetName

Stores the user-specified name for the specified set.

SCNetworkSetSetServiceOrder

Stores the user-specified ordering of network services for the specified set.