你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
PresenceStatus Struct
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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 |