SCNetworkSetCopy(_:_:)
Returns the set with the specified identifier.
Declaration
func SCNetworkSetCopy(_ prefs: SCPreferences, _ setID: CFString) -> SCNetworkSet?Parameters
- prefs:
The preferences session.
- setID:
The unique identifier for the set.
Return Value
The network set from the associated preferences, or NULL if the identifier does not exist in the preferences or if an error occurred. You must release the returned value.
See Also
Configuring Network Sets
SCNetworkSetAddService(_:_:)SCNetworkSetContainsInterface(_:_:)SCNetworkSetCopyAll(_:)SCNetworkSetCopyCurrent(_:)SCNetworkSetCopyServices(_:)SCNetworkSetCreate(_:)SCNetworkSetGetName(_:)SCNetworkSetGetServiceOrder(_:)SCNetworkSetGetSetID(_:)SCNetworkSetGetTypeID()SCNetworkSetRemove(_:)SCNetworkSetRemoveService(_:_:)SCNetworkSetSetCurrent(_:)SCNetworkSetSetName(_:_:)SCNetworkSetSetServiceOrder(_:_:)