> ## 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

ストリーミング サーバーのデータ センターの場所名のサイズを取得します。

<a id="syntaxSection" />

## Syntax

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

<a id="parametersSection" />

### Parameters

なし。

<a id="retvalSection" />

### Return value

型: size\_t

データ サーバーの場所名のサイズ。

<a id="remarksSection" />

## Remarks

この関数を使用して [XGameStreamingGetServerLocationName](/reference/system/xgamestreaming/functions/xgamestreaminggetserverlocationname) 用のバッファー領域を割り当てます。

XBOX が Azure データ センターに接続されていない場合、戻り値はゼロになります。

これは、ゲームがストリーミングされていない場合に発生することがあります。プレイヤーが XBOX コンソール ストリーミングを使用してゲームをストリーミングしている場合、または XBOX Developer Kit 経由でストリーミングしていてオーバーライド値が設定されていない場合にも発生することがあります。

<a id="requirementsSection" />

## Requirements

**ヘッダー:** xgamestreaming.h

**ライブラリ:** xgameruntime.lib

**サポートされているプラットフォーム:** Windows、XBOX One ファミリー本体および XBOX Series 本体

<a id="seealsoSection" />

## See also

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


## Related topics

- [XGameStreamingGetServerLocationName](/ja-jp/reference/system/xgamestreaming/functions/xgamestreaminggetserverlocationname.md)
- [XGameStreaming](/ja-jp/reference/system/xgamestreaming/xgamestreaming_members.md)
- [GDK 向け Unity C# API ラッパー](/ja-jp/build/gdk-and-engines/unity/unity-api-wrappers.md)
- [XGameStreamingGetTouchBundleVersionNameSize](/ja-jp/reference/system/xgamestreaming/functions/xgamestreaminggettouchbundleversionnamesize.md)
- [XGameStreamingGetTouchBundleVersion](/ja-jp/reference/system/xgamestreaming/functions/xgamestreaminggettouchbundleversion.md)
