/// <summary> /// Returns the list of currently active sessions on the Bastion. /// </summary> /// <param name='operations'> /// The operations group for this extension method. /// </param> /// <param name='nextPageLink'> /// The NextLink from the previous successful call to List operation. /// </param> public static IPage <BastionSessionState> DisconnectActiveSessionsNext(this INetworkManagementClient operations, string nextPageLink) { return(operations.DisconnectActiveSessionsNextAsync(nextPageLink).GetAwaiter().GetResult()); }