Share via


DatabaseOperation Constructors

Definition

Overloads

DatabaseOperation()

Initializes a new instance of the DatabaseOperation class.

DatabaseOperation(String, String, String, String, String, String, Nullable<Int32>, String, Nullable<DateTime>, String, Nullable<Int32>, String, Nullable<Int32>, Nullable<Boolean>, Nullable<DateTime>, String, Nullable<Boolean>)

Initializes a new instance of the DatabaseOperation class.

DatabaseOperation()

Initializes a new instance of the DatabaseOperation class.

public DatabaseOperation ();
Public Sub New ()

Applies to

DatabaseOperation(String, String, String, String, String, String, Nullable<Int32>, String, Nullable<DateTime>, String, Nullable<Int32>, String, Nullable<Int32>, Nullable<Boolean>, Nullable<DateTime>, String, Nullable<Boolean>)

Initializes a new instance of the DatabaseOperation class.

public DatabaseOperation (string id = default, string name = default, string type = default, string databaseName = default, string operation = default, string operationFriendlyName = default, int? percentComplete = default, string serverName = default, DateTime? startTime = default, string state = default, int? errorCode = default, string errorDescription = default, int? errorSeverity = default, bool? isUserError = default, DateTime? estimatedCompletionTime = default, string description = default, bool? isCancellable = default);
new Microsoft.Azure.Management.Sql.Models.DatabaseOperation : string * string * string * string * string * string * Nullable<int> * string * Nullable<DateTime> * string * Nullable<int> * string * Nullable<int> * Nullable<bool> * Nullable<DateTime> * string * Nullable<bool> -> Microsoft.Azure.Management.Sql.Models.DatabaseOperation
Public Sub New (Optional id As String = Nothing, Optional name As String = Nothing, Optional type As String = Nothing, Optional databaseName As String = Nothing, Optional operation As String = Nothing, Optional operationFriendlyName As String = Nothing, Optional percentComplete As Nullable(Of Integer) = Nothing, Optional serverName As String = Nothing, Optional startTime As Nullable(Of DateTime) = Nothing, Optional state As String = Nothing, Optional errorCode As Nullable(Of Integer) = Nothing, Optional errorDescription As String = Nothing, Optional errorSeverity As Nullable(Of Integer) = Nothing, Optional isUserError As Nullable(Of Boolean) = Nothing, Optional estimatedCompletionTime As Nullable(Of DateTime) = Nothing, Optional description As String = Nothing, Optional isCancellable As Nullable(Of Boolean) = Nothing)

Parameters

id
String

Resource ID.

name
String

Resource name.

type
String

Resource type.

databaseName
String

The name of the database the operation is being performed on.

operation
String

The name of operation.

operationFriendlyName
String

The friendly name of operation.

percentComplete
Nullable<Int32>

The percentage of the operation completed.

serverName
String

The name of the server.

startTime
Nullable<DateTime>

The operation start time.

state
String

The operation state. Possible values include: 'Pending', 'InProgress', 'Succeeded', 'Failed', 'CancelInProgress', 'Cancelled'

errorCode
Nullable<Int32>

The operation error code.

errorDescription
String

The operation error description.

errorSeverity
Nullable<Int32>

The operation error severity.

isUserError
Nullable<Boolean>

Whether or not the error is a user error.

estimatedCompletionTime
Nullable<DateTime>

The estimated completion time of the operation.

description
String

The operation description.

isCancellable
Nullable<Boolean>

Whether the operation can be cancelled.

Applies to