> ## Documentation Index
> Fetch the complete documentation index at: https://notevil.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# CAPLfunctionServiceProviderRefReleaseService

# serviceProviderRef::ReleaseService (obsolete)

[Valid for](../../../Shared/FeatureAvailability.md): CANoe DE

## Method Syntax

```plaintext theme={null}
int serviceProviderRef::ReleaseService();
```

## Description

Releases the service at the endpoint. This means that the binding will stop announcing the service or unregister it from a central registry (depending on the binding) and that connection requests from consumers will be denied.

## Parameters

—

## Return Values

* **0**: Success
* **!= 0**: Failure

## Example

```plaintext theme={null}
MirrorAdjustment.providerSide[LeftMirror].ReleaseService();
```

[Programming with the Communication Concept (C#, Python and CAPL)](../../../CANoeCANalyzer/CommunicationConcept/Programming/CCP.md) • [serviceProviderRef::ProvideService](CAPLfunctionServiceProviderRefProvideService.md)


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.