Share via


SessionHostResource.GetUserSessions Method

Definition

Gets a collection of UserSessionResources in the SessionHost.

public virtual Azure.ResourceManager.DesktopVirtualization.UserSessionCollection GetUserSessions ();
abstract member GetUserSessions : unit -> Azure.ResourceManager.DesktopVirtualization.UserSessionCollection
override this.GetUserSessions : unit -> Azure.ResourceManager.DesktopVirtualization.UserSessionCollection
Public Overridable Function GetUserSessions () As UserSessionCollection

Returns

An object representing collection of UserSessionResources and their operations over a UserSessionResource.

Applies to