> ## Documentation Index
> Fetch the complete documentation index at: https://docs.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.

## Sintaxe

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

### Parâmetros

Nenhum.

### Valor retornado

Tipo: size\_t

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

## Comentários

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

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.

## Requisitos

**Cabeçalho:** xgamestreaming.h

**Biblioteca:** xgameruntime.lib

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

## Confira também

[XGameStreaming](https://docs.xbox.com/pt-BR/reference/system/xgamestreaming/xgamestreaming_members.md)\
[XGameStreamingGetServerLocationName](https://docs.xbox.com/pt-BR/reference/system/xgamestreaming/functions/xgamestreaminggetserverlocationname.md)


## Related topics

- [XGameStreamingGetServerLocationName](https://docs.xbox.com/pt-BR/reference/system/xgamestreaming/functions/xgamestreaminggetserverlocationname.md)
- [XGameStreaming (conteúdo da API)](https://docs.xbox.com/pt-BR/reference/system/xgamestreaming/xgamestreaming_members.md)
- [Usar wrappers C# para APIs do GDK no seu projeto do Unity](https://docs.xbox.com/pt-BR/build/gdk-and-engines/unity/unity-api-wrappers.md)
- [XGameStreamingGetTouchBundleVersionNameSize](https://docs.xbox.com/pt-BR/reference/system/xgamestreaming/functions/xgamestreaminggettouchbundleversionnamesize.md)
- [XGameStreamingGetTouchBundleVersion](https://docs.xbox.com/pt-BR/reference/system/xgamestreaming/functions/xgamestreaminggettouchbundleversion.md)
