# LimitTerminalServerInstances

This attribute limits the number of instances of your application when running on a Terminal Server (Microsoft RDP or Citrix XenDesktop).

When set to true, the QLM ValidateLicense API will fail if the number of running instances is greater than the one defined in the license key.

An instance is defined as an instance of your application with a unique user id and a unique session id.

For example, if a user initiates a remote desktop session to a system, and launches 5 instances of your application, the 5 instances will count as one because the same user has launched the 5 instances in the same session.

If the same user then initiates another remote desktop session and launches 3 instances of your application, the total number of instances will be 2.

This feature is only available with QLM Professional and QLM Enterprise.

You can control the number of allowed instances on a terminal server session by setting the Floating Seats property when creating an Activation Key.


---

# 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.soraco.co/docs/api-reference/.net-api/qlmlicense/properties/limitterminalserverinstances.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.
