← Files GoodMemARCHIVED FILE

skills/goodmem-sdk/references/dotnet/Admin/DrainAsync.md

421 Bytes · Oct 4, 2026 · 12:23 UTC

↓ Download file

<!-- sdk-ref package=PairSystems.Goodmem.Client registry=nuget version=2.0.2 -->

# Admin.DrainAsync

Request the server to enter drain mode.

```csharp
Task<AdminDrainResponse> DrainAsync(AdminDrainRequest? request = null, CancellationToken ct = default)
```

[Admin](../Admin.md) · [.NET](../../dotnet.md)

Related types — open only those used by your request:

- [AdminDrainRequest](../models/AdminDrainRequest.md)

SHA-256: 41f78154f657d9a0f8400bd9ed426ddc3aab63b741186ef143b45d83a948274f