SCNetworkSetSetName(_:_:)
Stores the user-specified name for the specified set.
Declaration
func SCNetworkSetSetName(_ set: SCNetworkSet, _ name: CFString?) -> BoolParameters
- set:
The set (the complete configuration for a single location).
- name:
The user-defined name to associate with the set.
Return Value
TRUE if the name was saved; FALSE if an error occurred.
Discussion
Although it is not technically required, the user-specified names for all sets should be unique. For this reason, an error is returned if you attempt to name two sets with the same string.
See Also
Configuring Network Sets
SCNetworkSetAddService(_:_:)SCNetworkSetContainsInterface(_:_:)SCNetworkSetCopy(_:_:)SCNetworkSetCopyAll(_:)SCNetworkSetCopyCurrent(_:)SCNetworkSetCopyServices(_:)SCNetworkSetCreate(_:)SCNetworkSetGetName(_:)SCNetworkSetGetServiceOrder(_:)SCNetworkSetGetSetID(_:)SCNetworkSetGetTypeID()SCNetworkSetRemove(_:)SCNetworkSetRemoveService(_:_:)SCNetworkSetSetCurrent(_:)SCNetworkSetSetServiceOrder(_:_:)