> For the complete documentation index, see [llms.txt](https://doc.velneo.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://doc.velneo.com/31/velneo-vdevelop/scripts/lenguajes/javascript/clases/vinstance.md).

# VInstance

Esta clase representa una instancia de una solución en Velneo vServer. Es una clase específica para [personalizar la ventana de conexión de Velneo vClient con QML](/31/velneo-vclient/funcionalidades-especificas/personalizacion-de-la-ventana-de-conexion-de-velneo-vclient.md#personalizacion-mediante-ficheros-qml).

## Indice de funciones

### **Funciones generales**

Number [codeId](/31/velneo-vdevelop/scripts/lenguajes/javascript/clases/vinstance.md#codeid)()

VImage [icon](/31/velneo-vdevelop/scripts/lenguajes/javascript/clases/vinstance.md#icon)()

String [id](/31/velneo-vdevelop/scripts/lenguajes/javascript/clases/vinstance.md#id)()

String [name](/31/velneo-vdevelop/scripts/lenguajes/javascript/clases/vinstance.md#name)()

String [projectId](/31/velneo-vdevelop/scripts/lenguajes/javascript/clases/vinstance.md#projectid)()

String [solutionName](/31/velneo-vdevelop/scripts/lenguajes/javascript/clases/vinstance.md#solutionname)()

Number [type](/31/velneo-vdevelop/scripts/lenguajes/javascript/clases/vinstance.md#type)()

## Documentación de funciones

### Funciones generales

#### Number codeId() <a href="#codeid" id="codeid"></a>

Devuelve el código de la instancia.

#### VImage icon() <a href="#icon" id="icon"></a>

Devuelve el icono de la instancia.

#### String id() <a href="#id" id="id"></a>

Devuelve el identificador de la instancia para usar en una VRL.

#### String name() <a href="#name" id="name"></a>

Devuelve el nombre de la instancia

#### String projectId() <a href="#projectid" id="projectid"></a>

Devuelve el identificador interno del proyecto (???????.vc?) al que corresponde la instancia.

#### String solutionName() <a href="#solutionname" id="solutionname"></a>

Devuelve el nombre de la solución correspondiente a la instancia.

#### Number type() <a href="#type" id="type"></a>

Devuelve el tipo de instancia.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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://doc.velneo.com/31/velneo-vdevelop/scripts/lenguajes/javascript/clases/vinstance.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.
