# 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](https://doc.velneo.com/35/velneo-vclient/funcionalidades-especificas/personalizacion-de-la-ventana-de-conexion-de-velneo-vclient#personalizacion-mediante-ficheros-qml).

## Indice de funciones

### **Funciones generales**

Number [codeId](#codeid)()

VImage [icon](#icon)()

String [id](#id)()

String [name](#name)()

String [projectId](#projectid)()

String [solutionName](#solutionname)()

Number [type](#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: 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/35/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.
