Share via


DesktopVirtualizationClient.SessionHostsUpdateWithResult Method

Definition

public System.Threading.Tasks.Task<Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Models.ISessionHost> SessionHostsUpdateWithResult (string subscriptionId, string resourceGroupName, string hostPoolName, string sessionHostName, bool? force, Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Models.ISessionHostPatch body, Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Runtime.ISendAsync sender, Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Runtime.SerializationMode serializationMode = Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Runtime.SerializationMode.IncludeCreateOrUpdate);
member this.SessionHostsUpdateWithResult : string * string * string * string * Nullable<bool> * Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Models.ISessionHostPatch * Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Runtime.IEventListener * Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Runtime.ISendAsync * Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Runtime.SerializationMode -> System.Threading.Tasks.Task<Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Models.ISessionHost>
Public Function SessionHostsUpdateWithResult (subscriptionId As String, resourceGroupName As String, hostPoolName As String, sessionHostName As String, force As Nullable(Of Boolean), body As ISessionHostPatch, eventListener As IEventListener, sender As ISendAsync, Optional serializationMode As SerializationMode = Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Runtime.SerializationMode.IncludeCreateOrUpdate) As Task(Of ISessionHost)

Parameters

subscriptionId
String
resourceGroupName
String
hostPoolName
String
sessionHostName
String
force
Nullable<Boolean>
eventListener
IEventListener
sender
ISendAsync
serializationMode
SerializationMode

Returns

Applies to