Method SetAdminSettingsAsync
- Namespace
- Kepware.Api.ClientHandler
- Assembly
- Kepware.Api.dll
SetAdminSettingsAsync(AdminSettings, CancellationToken)
Updates the administrator settings with the specified values.
public Task<bool> SetAdminSettingsAsync(AdminSettings settings, CancellationToken cancellationToken = default)
Parameters
settings
AdminSettingsThe new administrator settings to apply.
cancellationToken
CancellationTokenA token that can be used to request cancellation of the operation.
Returns
Exceptions
- InvalidOperationException
Thrown if the current settings cannot be retrieved.