IAsyncImapClient.SetQuotaAsync

IAsyncImapClient.SetQuotaAsync method

Sets quota information

public Task<ImapQuota[]> SetQuotaAsync(string quotaRootName, string resourceName, 
    int resourceLimit, IConnection connection = null, CancellationToken token = default)
ParameterTypeDescription
connectionStringConnection to a server
quotaRootNameStringquota root name
resourceNameInt32resource name
resourceLimitIConnectionresource limit
tokenCancellationTokenPropagates notification that operations should be canceled.

Return Value

Quota information

See Also