Class AdminResult
Namespace: Oracle.NoSQL.SDK
Assembly: Oracle.NoSQL.SDK.dll
Syntax
public class AdminResult : Object
Remarks
This is the result of APIs ExecuteAdminAsync, ExecuteAdminWithCompletionAsync and GetAdminStatusAsync(AdminResult, GetAdminStatusOptions, CancellationToken). It encapsulates the state of the admin DDL operation.
Admin DDL operations performed by ExecuteAdminAsync can be potentially long running and not necessarily completed when this method returns result. You may call WaitForCompletionAsync(Nullable<TimeSpan>, Nullable<TimeSpan>, CancellationToken) to be notified when the operation completes.
Alternatively you may call ExecuteAdminWithCompletionAsync which will return the result only when the DDL operation is fully completed. You may also call GetAdminStatusAsync(AdminResult, GetAdminStatusOptions, CancellationToken) to receive the current status of the admin DDL operation.
Properties
Name | Description |
---|---|
Output | Gets the output of the operation as a string. |
State | Gets the current state of the operation. |
Statement | Gets the statement for the operation. |
Methods
Name | Description |
---|---|
WaitForCompletionAsync(Nullable<TimeSpan>, Nullable<TimeSpan>, CancellationToken) | Asynchronously waits for completion of admin DDL operations. |