Partager via


HostPoolType Struct

Definition

HostPool type for desktop.

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

Fields

ByoDesktop

Users assign their own machines, load balancing logic remains the same as Personal. PersonalDesktopAssignmentType must be Direct.

Personal

Users will be assigned a SessionHost either by administrators (PersonalDesktopAssignmentType = Direct) or upon connecting to the pool (PersonalDesktopAssignmentType = Automatic). They will always be redirected to their assigned SessionHost.

Pooled

Users get a new (random) SessionHost every time it connects to the HostPool.

Methods

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

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

Equals(HostPoolType)

Compares values of enum type HostPoolType

Equals(Object)

Compares values of enum type HostPoolType (override for Object)

GetHashCode()

Returns hashCode for enum HostPoolType

ToString()

Returns string representation for HostPoolType

Operators

Equality(HostPoolType, HostPoolType)

Overriding == operator for enum HostPoolType

Implicit(HostPoolType to String)

Implicit operator to convert HostPoolType to string

Implicit(String to HostPoolType)

Implicit operator to convert string to HostPoolType

Inequality(HostPoolType, HostPoolType)

Overriding != operator for enum HostPoolType

Applies to