Share via


Commit Struct

Definition

Replica commit mode in availability group.

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.SqlVirtualMachine.Support.CommitTypeConverter))]
public struct Commit : IEquatable<Microsoft.Azure.PowerShell.Cmdlets.SqlVirtualMachine.Support.Commit>, System.Management.Automation.IArgumentCompleter
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.SqlVirtualMachine.Support.CommitTypeConverter))>]
type Commit = struct
    interface IArgumentCompleter
Public Structure Commit
Implements IArgumentCompleter, IEquatable(Of Commit)
Inheritance
Commit
Attributes
Implements

Fields

AsynchronousCommit
SynchronousCommit

Methods

CompleteArgument(String, String, String, CommandAst, IDictionary)

Implementations of this function are called by PowerShell to complete arguments.

Equals(Commit)

Compares values of enum type Commit

Equals(Object)

Compares values of enum type Commit (override for Object)

GetHashCode()

Returns hashCode for enum Commit

ToString()

Returns string representation for Commit

Operators

Equality(Commit, Commit)

Overriding == operator for enum Commit

Implicit(Commit to String)

Implicit operator to convert Commit to string

Implicit(String to Commit)

Implicit operator to convert string to Commit

Inequality(Commit, Commit)

Overriding != operator for enum Commit

Applies to