Share via


PresenceStatus Struct

Definition

A value indicating whether the VM has a physical disk attached. String value of SrsDataContract.PresenceStatus enum.

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

Fields

NotPresent
Present
Unknown

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 PresenceStatus (override for Object)

Equals(PresenceStatus)

Compares values of enum type PresenceStatus

GetHashCode()

Returns hashCode for enum PresenceStatus

ToString()

Returns string representation for PresenceStatus

Operators

Equality(PresenceStatus, PresenceStatus)

Overriding == operator for enum PresenceStatus

Implicit(PresenceStatus to String)

Implicit operator to convert PresenceStatus to string

Implicit(String to PresenceStatus)

Implicit operator to convert string to PresenceStatus

Inequality(PresenceStatus, PresenceStatus)

Overriding != operator for enum PresenceStatus

Applies to