Function

SCNetworkSetGetServiceOrder

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

Declaration

CFArrayRef SCNetworkSetGetServiceOrder(SCNetworkSetRef set);

Parameters

set

The set (the complete configuration for a single location).

Return Value

The ordered list of service identifiers associated with the set, or NULL if no service order has been specified or if 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.

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.

SCNetworkSetRemoveService

Removes the specified network service from the specified set.

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.