> ## Documentation Index
> Fetch the complete documentation index at: https://devdocs.xbox.com/llms.txt
> Use this file to discover all available pages before exploring further.

# XGameStreamingGetServerLocationNameSize

> XGameStreamingGetServerLocationNameSize

# XGameStreamingGetServerLocationNameSize

Obtém o tamanho do nome da localização do datacenter do servidor de streaming.

<a id="syntaxSection" />

## Sintaxe

```cpp theme={null}
size_t XGameStreamingGetServerLocationNameSize()
```

<a id="parametersSection" />

### Parâmetros

Nenhum.

<a id="retvalSection" />

### Valor retornado

Tipo: size\_t

O tamanho do nome da localização do Servidor de Dados.

<a id="remarksSection" />

## Comentários

Use esta função para alocar espaço de buffer para [XGameStreamingGetServerLocationName](/pt-BR/reference/system/xgamestreaming/functions/xgamestreaminggetserverlocationname).

O valor retornado será zero se o XBOX não estiver conectado a um datacenter do Azure.

Isso pode ocorrer se o jogo não estiver fazendo streaming. Também pode acontecer se o jogador estiver usando o Streaming do Console XBOX para fazer streaming do jogo, ou fizer streaming por meio de um XBOX Developer Kit se nenhum valor de substituição tiver sido definido.

<a id="requirementsSection" />

## Requisitos

**Cabeçalho:** xgamestreaming.h

**Biblioteca:** xgameruntime.lib

**Plataformas com suporte:** Windows, consoles da família XBOX One e consoles XBOX Series

<a id="seealsoSection" />

## Confira também

[XGameStreaming](/pt-BR/reference/system/xgamestreaming/xgamestreaming_members)\
[XGameStreamingGetServerLocationName](/pt-BR/reference/system/xgamestreaming/functions/xgamestreaminggetserverlocationname)


## Related topics

- [XGameStreamingGetServerLocationNameSize](/reference/system/xgamestreaming/functions/xgamestreaminggetserverlocationnamesize.md)
- [XGameStreamingGetServerLocationName](/reference/system/xgamestreaming/functions/xgamestreaminggetserverlocationname.md)
- [XGameStreaming](/reference/system/xgamestreaming/xgamestreaming_members.md)
- [XGameStreamingGetTouchBundleVersionNameSize](/reference/system/xgamestreaming/functions/xgamestreaminggettouchbundleversionnamesize.md)
