---
title: remove()
framework: IOBluetooth
role: symbol
role_heading: Instance Method
path: iobluetooth/iobluetoothsdpservicerecord/remove()
---

# remove()

Removes the service from the local SDP server.

## Declaration

```swift
func remove() -> IOReturn
```

## Return Value

Return Value Returns kIOReturnSuccess if successful.
