> ## 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.

# CAPLfunctionServiceProviderRefProvideService

# serviceProviderRef::ProvideService (obsolete)

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

## Method Syntax

[int serviceProviderRef::ProvideService()](../Objects/CAPLfunctionServiceProviderRef.md)

## Description

Provides the service at the endpoint. This means that the binding will announce the service either by broadcast or at a central registry (depending on the binding) and that connection requests from consumers will be accepted.

## Parameters

—

## Return Values

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

## Example

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

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


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