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

# CAPLfunctionGetProvider

[Open topic with navigation](../../../../../CANoeDEFamily.htm#Topics/CAPLFunctions/CommunicationObjects/Methods/CAPLfunctionGetProvider.md)

## GetProvider (obsolete)

**CAPL Functions** » **Communication Objects** » GetProvider

**Valid for**: CANoe DE

### Method Syntax

* `COParticipant consumedServiceRef::GetProvider();`
* `COParticipant consumedEventRef::GetProvider();`
* `COParticipant consumedFieldRef::GetProvider();`
* `COParticipant consumedPDURef::GetProvider();`
* `COParticipant consumedMethodRef::GetProvider();`
* `COParticipant providedServiceRef::GetProvider();`
* `COParticipant providedEventRef::GetProvider();`
* `COParticipant providedFieldRef::GetProvider();`
* `COParticipant providedPDURef::GetProvider();`
* `COParticipant providedMethodRef::GetProvider();`
* `COParticipant serviceProviderRef::GetProvider();`
* `COParticipant eventProviderRef::GetProvider();`
* `COParticipant fieldProviderRef::GetProvider();`
* `COParticipant pduProviderRef::GetProvider();`

### Description

Returns the provider participant selected for the CO reference.

### Parameters

—

### Return Values

If the object is valid and refers to an endpoint which is assigned to a participant, returns a reference to that participant. Else returns an invalid reference.

### Example

—


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