共用方式為


OperationResource Constructors

Definition

Overloads

OperationResource()

Initializes a new instance of the OperationResource class.

OperationResource(String, String, String, Object, ErrorDetail, Nullable<DateTime>, Nullable<DateTime>, Nullable<Double>)

Initializes a new instance of the OperationResource class.

OperationResource()

Initializes a new instance of the OperationResource class.

public OperationResource ();
Public Sub New ()

Applies to

OperationResource(String, String, String, Object, ErrorDetail, Nullable<DateTime>, Nullable<DateTime>, Nullable<Double>)

Initializes a new instance of the OperationResource class.

public OperationResource (string id = default, string name = default, string status = default, object properties = default, Microsoft.Azure.Management.Synapse.Models.ErrorDetail error = default, DateTime? startTime = default, DateTime? endTime = default, double? percentComplete = default);
new Microsoft.Azure.Management.Synapse.Models.OperationResource : string * string * string * obj * Microsoft.Azure.Management.Synapse.Models.ErrorDetail * Nullable<DateTime> * Nullable<DateTime> * Nullable<double> -> Microsoft.Azure.Management.Synapse.Models.OperationResource
Public Sub New (Optional id As String = Nothing, Optional name As String = Nothing, Optional status As String = Nothing, Optional properties As Object = Nothing, Optional error As ErrorDetail = Nothing, Optional startTime As Nullable(Of DateTime) = Nothing, Optional endTime As Nullable(Of DateTime) = Nothing, Optional percentComplete As Nullable(Of Double) = Nothing)

Parameters

id
String

Operation ID

name
String

Operation name

status
String

Operation status. Possible values include: 'InProgress', 'Succeeded', 'Failed', 'Canceled'

properties
Object

Operation properties

error
ErrorDetail

Errors from the operation

startTime
Nullable<DateTime>

Operation start time

endTime
Nullable<DateTime>

Operation start time

percentComplete
Nullable<Double>

Completion percentage of the operation

Applies to