Share via


AdvancedThreatProtectionState Struct

Definition

Specifies the state of the Advanced Threat Protection, whether it is enabled or disabled on the server.

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

Fields

Disabled
Enabled

Methods

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

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

Equals(AdvancedThreatProtectionState)

Compares values of enum type AdvancedThreatProtectionState

Equals(Object)

Compares values of enum type AdvancedThreatProtectionState (override for Object)

GetHashCode()

Returns hashCode for enum AdvancedThreatProtectionState

ToString()

Returns string representation for AdvancedThreatProtectionState

Operators

Equality(AdvancedThreatProtectionState, AdvancedThreatProtectionState)

Overriding == operator for enum AdvancedThreatProtectionState

Implicit(AdvancedThreatProtectionState to String)

Implicit operator to convert AdvancedThreatProtectionState to string

Implicit(String to AdvancedThreatProtectionState)

Implicit operator to convert string to AdvancedThreatProtectionState

Inequality(AdvancedThreatProtectionState, AdvancedThreatProtectionState)

Overriding != operator for enum AdvancedThreatProtectionState

Applies to