
## EndGetNamespaces {#endgetnamespaces}

Waits for the pending asynchronous operation to complete.

**Returns:** Returns namespaces that are available on a server.

```cpp
EndGetNamespaces(System::SharedPtr < System::IAsyncResult > asyncResult)
```

| Parameter | Description |
| --- | --- |
| asyncResult | The reference to the pending asynchronous request to wait for. |

