# IRfConnection Interface Reference

Inherits IRsObject.

List of all members.

## Public Member Functions
HRESULT | GetSubSpaceExternConnection ([in] IRsNode *pSubSpaeRoot,[out, retval] IRsConnectionList **ppConList)
HRESULT | CreateConnectionListObj ([out, retval] IRsConnectionList **ppConnectionList)
HRESULT | CreateConnectionObj ([in] IRsConnector *pSourceCon,[in] IRsConnector *pDestCon,[out, retval] IRsConnection **ppConnection)

## Detailed Description

Connection function set.

- Contains auxiliary functions for connection between two connectors.

## Member Function Documentation

HRESULT IRfConnection::GetSubSpaceExternConnection | ( | [in] IRsNode * | pSubSpaeRoot,
|  | [out, retval] IRsConnectionList ** | ppConList |
| ) |  |  |

Gets all connections which are directed from inner objects of specified encapsulator to encapsulator itself.

Parameters:

  | pSubSpaceRoot | [in] Encapsulator on which connections are enumerated.

Returns:
  ppConList [out,retval] Returned list of connections.

HRESULT IRfConnection::CreateConnectionListObj | ( | [out, retval] IRsConnectionList ** | ppConnectionList | ) |

Creates new instance of IRsConnectionList.

Returns:
  ppConnectionList [out,retval] New instance of connection list.

HRESULT IRfConnection::CreateConnectionObj | ( | [in] IRsConnector * | pSourceCon,
|  | [in] IRsConnector * | pDestCon,
|  | [out, retval] IRsConnection ** | ppConnection |
| ) |  |  |

Creates connection between two specified connectors.

Parameters:

  | pSourceCon | [in] Source connector for connection.
  | pDestCon | [in] Destination connector for connection.

Returns:
  ppConnection [out,retval] Returned connection object.