Share via


Failover Struct

Definition

Replica failover mode in availability group.

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

Fields

Automatic
Manual

Methods

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

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

Equals(Failover)

Compares values of enum type Failover

Equals(Object)

Compares values of enum type Failover (override for Object)

GetHashCode()

Returns hashCode for enum Failover

ToString()

Returns string representation for Failover

Operators

Equality(Failover, Failover)

Overriding == operator for enum Failover

Implicit(Failover to String)

Implicit operator to convert Failover to string

Implicit(String to Failover)

Implicit operator to convert string to Failover

Inequality(Failover, Failover)

Overriding != operator for enum Failover

Applies to