你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

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