Class AdminOptions
On-premise only. Represents options for admin DDL passed to methods
ExecuteAdminAsync
and
ExecuteAdminWithCompletionAsync.
Namespace: Oracle.NoSQL.SDK
Assembly: Oracle.NoSQL.SDK.dll
Syntax
public class AdminOptions : Object
Remarks
For properties not specified or
null,
appropriate defaults will be used as indicated below.
Examples
Executing admin DDL with provided AdminOptions.var result = await client.ExecuteAdminWithCompletionAsync(
"DROP NAMESPACE my_namespace CASCADE",
new AdminOptions
{
Timeout = TimeSpan.FromSeconds(120),
PollDelay = TimeSpan.FromSeconds(2)
});
Constructors
| Name | Description |
|---|---|
| AdminOptions() |
Properties
| Name | Description |
|---|---|
| PollDelay | Gets or sets the poll delay for polling when asynchronously waiting for operation completion. |
| Timeout | Gets or sets the timeout for the operation. |