# Connection Class

### NAMESPACE

RASAdminEngine.Core.OutputModels.ClientRulesPolicy.ClientOptions

### DESCRIPTION

Client Options Connection Policy

### INHERITED FROM

[RASSerilazableObj](https://download.parallels.com/ras/v19/docs/en_US/Parallels-RAS-v19-PowerShell-Guide/RASAdmin/types/RASSerilazableObj.html)⇒Connection

### INTERFACES

* ISerializable
* IComparable

### PUBLIC PROPERTIES

| Type                                                                                                                                                              | Name                       | Description |                                                             |
| ----------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------- | ----------- | ----------------------------------------------------------- |
| Boolean                                                                                                                                                           | AutoRefreshFarms           |             | Will automatically refresh the farm every given minutes.    |
| UInt32                                                                                                                                                            | AutoRefreshTime\_Mins      |             | The given minutes to refresh the farm.                      |
| [ConnectionBannerType](https://download.parallels.com/ras/v19/docs/en_US/Parallels-RAS-v19-PowerShell-Guide/RASAdmin/types/ConnectionBannerType.html)             | ConnectionBannerType       |             | The type of connection banner used.                         |
| Boolean                                                                                                                                                           | Enabled                    |             | Whether Client Options Connection policy is enabled or not. |
| [WhenAllSessionClosedAction](https://download.parallels.com/ras/v19/docs/en_US/Parallels-RAS-v19-PowerShell-Guide/RASAdmin/types/WhenAllSessionClosedAction.html) | WhenAllSessionClosedAction |             | Action performed when all sessions are closed.              |

### PUBLIC METHODS

| Type    | Name                   | Description                                                                                                                                                    |   |
| ------- | ---------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------- | - |
| Int32   | CompareTo (Object obj) | Inherited from [RASSerilazableObj](https://download.parallels.com/ras/v19/docs/en_US/Parallels-RAS-v19-PowerShell-Guide/RASAdmin/types/RASSerilazableObj.html) |   |
| Boolean | Equals (Object obj)    | Inherited from [RASSerilazableObj](https://download.parallels.com/ras/v19/docs/en_US/Parallels-RAS-v19-PowerShell-Guide/RASAdmin/types/RASSerilazableObj.html) |   |
| Int32   | GetHashCode ()         | Inherited from [RASSerilazableObj](https://download.parallels.com/ras/v19/docs/en_US/Parallels-RAS-v19-PowerShell-Guide/RASAdmin/types/RASSerilazableObj.html) |   |
| Type    | GetType ()             |                                                                                                                                                                |   |
| String  | ToString ()            |                                                                                                                                                                |   |


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.parallels.com/landing/ras-powershell-api-guide/v19/parallels-ras-powershell-admin-module/class/connection-class.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
