SCNetworkServiceGetEnabled(_:)
Returns a Boolean value indicating whether the specified service is enabled.
Declaration
func SCNetworkServiceGetEnabled(_ service: SCNetworkService) -> BoolParameters
- service:
The network service.
Return Value
TRUE if the service is enabled; otherwise, FALSE.
See Also
Configuring Network Services
SCNetworkServiceAddProtocolType(_:_:)SCNetworkServiceCopy(_:_:)SCNetworkServiceCopyAll(_:)SCNetworkServiceCopyProtocol(_:_:)SCNetworkServiceCopyProtocols(_:)SCNetworkServiceCreate(_:_:)SCNetworkServiceEstablishDefaultConfiguration(_:)SCNetworkServiceGetInterface(_:)SCNetworkServiceGetName(_:)SCNetworkServiceGetServiceID(_:)SCNetworkServiceGetTypeID()SCNetworkServiceRemove(_:)SCNetworkServiceRemoveProtocolType(_:_:)SCNetworkServiceSetEnabled(_:_:)SCNetworkServiceSetName(_:_:)