DesktopVirtualizationClient.SessionHostsUpdateViaIdentityWithResult Method
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.
public System.Threading.Tasks.Task<Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Models.ISessionHost> SessionHostsUpdateViaIdentityWithResult (string viaIdentity, 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.SessionHostsUpdateViaIdentityWithResult : 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 SessionHostsUpdateViaIdentityWithResult (viaIdentity 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
- viaIdentity
- String
- body
- ISessionHostPatch
- eventListener
- IEventListener
- sender
- ISendAsync
- serializationMode
- SerializationMode