Contents

SCNetworkSetSetName(_:_:)

Stores the user-specified name for the specified set.

Declaration

func SCNetworkSetSetName(_ set: SCNetworkSet, _ name: CFString?) -> Bool

Parameters

  • 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