Share via


ServerState Struct

Definition

A state of a server that is visible to user.

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

Fields

Disabled
Dropping
Inaccessible
Ready
Starting
Stopped
Stopping
Updating

Methods

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

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

Equals(Object)

Compares values of enum type ServerState (override for Object)

Equals(ServerState)

Compares values of enum type ServerState

GetHashCode()

Returns hashCode for enum ServerState

ToString()

Returns string representation for ServerState

Operators

Equality(ServerState, ServerState)

Overriding == operator for enum ServerState

Implicit(ServerState to String)

Implicit operator to convert ServerState to string

Implicit(String to ServerState)

Implicit operator to convert string to ServerState

Inequality(ServerState, ServerState)

Overriding != operator for enum ServerState

Applies to