---
title: connectionForProxy
framework: foundation
role: symbol
role_heading: Instance Property
path: foundation/nsdistantobject/connectionforproxy
---

# connectionForProxy

Returns the connection used by the receiver.

## Declaration

```occ
@property (retain, readonly) NSConnection * connectionForProxy;
```

## Return Value

Return Value The connection used by the receiver.
